diff options
author | redmatrix <git@macgirvin.com> | 2016-07-11 21:46:16 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-07-11 21:46:16 -0700 |
commit | ed0e2b52d7cf66ada81208c5068f70568a0b2310 (patch) | |
tree | 0605b2b7edc74f3c03e574a4f974d9c1cd581472 /Zotlabs/Module/Events.php | |
parent | 168d35747da8730a7e3a1e6cb40d4f411e147be3 (diff) | |
download | volse-hubzilla-ed0e2b52d7cf66ada81208c5068f70568a0b2310.tar.gz volse-hubzilla-ed0e2b52d7cf66ada81208c5068f70568a0b2310.tar.bz2 volse-hubzilla-ed0e2b52d7cf66ada81208c5068f70568a0b2310.zip |
move permissiondescription class to zotlabs/lib
Diffstat (limited to 'Zotlabs/Module/Events.php')
-rw-r--r-- | Zotlabs/Module/Events.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Module/Events.php b/Zotlabs/Module/Events.php index 3187cddb4..def5c437b 100644 --- a/Zotlabs/Module/Events.php +++ b/Zotlabs/Module/Events.php @@ -6,7 +6,6 @@ require_once('include/bbcode.php'); require_once('include/datetime.php'); require_once('include/event.php'); require_once('include/items.php'); -require_once('include/PermissionDescription.php'); class Events extends \Zotlabs\Web\Controller { @@ -471,7 +470,7 @@ class Events extends \Zotlabs\Web\Controller { '$permissions' => t('Permission settings'), // populating the acl dialog was a permission description from view_stream because Cal.php, which // displays events, says "since we don't currently have an event permission - use the stream permission" - '$acl' => (($orig_event['event_xchan']) ? '' : populate_acl(((x($orig_event)) ? $orig_event : $perm_defaults), false, \PermissionDescription::fromGlobalPermission('view_stream'))), + '$acl' => (($orig_event['event_xchan']) ? '' : populate_acl(((x($orig_event)) ? $orig_event : $perm_defaults), false, \Zotlabs\Lib\PermissionDescription::fromGlobalPermission('view_stream'))), '$submit' => t('Submit'), '$advanced' => t('Advanced Options') |