Move include/security tp /src/Core/Authentication and /src/Util/Security
This commit is contained in:
+2
-1
@@ -21,6 +21,7 @@ use Friendica\Model\Profile;
|
||||
use Friendica\Protocol\DFRN;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
use Friendica\Util\Temporal;
|
||||
use Friendica\Util\Security;
|
||||
|
||||
function cal_init(App $a)
|
||||
{
|
||||
@@ -141,7 +142,7 @@ function cal_content(App $a)
|
||||
}
|
||||
|
||||
// get the permissions
|
||||
$sql_perms = item_permissions_sql($owner_uid, $remote_contact, $groups);
|
||||
$sql_perms = Security::item_permissions_sql($owner_uid, $remote_contact, $groups);
|
||||
// we only want to have the events of the profile owner
|
||||
$sql_extra = " AND `event`.`cid` = 0 " . $sql_perms;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user