mirror of
https://github.com/friendica/friendica
synced 2025-05-03 05:04:15 +02:00
Renaming functions + moving functions from security to Model/Item and BaseModule + fix multiline comments
This commit is contained in:
parent
ce2b1f5715
commit
f3fc1f36ca
29 changed files with 233 additions and 222 deletions
|
@ -227,7 +227,7 @@ class Photo
|
|||
*/
|
||||
public static function getAlbums($uid, $update = false)
|
||||
{
|
||||
$sql_extra = Security::permissions_sql($uid);
|
||||
$sql_extra = Security::getPermissionsSQLByUserId($uid);
|
||||
|
||||
$key = "photo_albums:".$uid.":".local_user().":".remote_user();
|
||||
$albums = Cache::get($key);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue