From: Michael Vogel Date: Sat, 28 Jul 2018 17:12:35 +0000 (+0200) Subject: Fix for post update (#5513) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=91db91d315933ff8ecdf8b3e162682b975bbfe7d;p=friendica.git Fix for post update (#5513) * "post-type" replaces "bookmark" and "type" * Removed some more type * Added index to permission set * The permission set is now stored * The permission set is now removed upon expiry * Post update now stores the permission set * New file * Permissions are now sorted * The permission set is now used for item permissions * Check for allow_cid, ... is superfluous. Checking for "private" is enough * We query the permissionset * Permissions are displayed correctly * Changed index * We don't store the permissions in the item table anymore * Permission fields are now deprecated * Reversed ... * Postupdate now handles "postopts" as well * Set deprecated fields to "null" if empty * Postupdates are enabled again * Fix for post update --- diff --git a/src/Worker/CronJobs.php b/src/Worker/CronJobs.php index c54e74e38e..4648c1b4f9 100644 --- a/src/Worker/CronJobs.php +++ b/src/Worker/CronJobs.php @@ -15,6 +15,7 @@ use Friendica\Model\Photo; use Friendica\Model\User; use Friendica\Network\Probe; use Friendica\Protocol\PortableContact; +use Friendica\Database\PostUpdate; require_once 'include/dba.php'; require_once 'mod/nodeinfo.php';