mirror of
https://github.com/friendica/friendica
synced 2025-04-27 14:30:11 +00:00
add remaning/moving to files not touch by refactoring because of typo
This commit is contained in:
parent
0c0e17b7a7
commit
a937cf06a3
2 changed files with 12 additions and 11 deletions
|
@ -24,6 +24,7 @@ use Friendica\Protocol\Diaspora;
|
|||
use Friendica\Protocol\OStatus;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
use Friendica\Util\XML;
|
||||
use Friendica\Util\Security;
|
||||
use Text_LanguageDetect;
|
||||
|
||||
require_once 'boot.php';
|
||||
|
@ -3060,7 +3061,7 @@ class Item extends BaseObject
|
|||
$uid = local_user();
|
||||
}
|
||||
|
||||
if (!Security::can_write_wall($uid)) {
|
||||
if (!Security::canWriteToUserWall($uid)) {
|
||||
logger('like: unable to write on wall ' . $uid);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue