]> git.mxchange.org Git - friendica.git/blobdiff - include/items.php
New function "isAuthenticated"
[friendica.git] / include / items.php
index ae686a32d9687070cb43732f458865f5ccf60551..4cc10e628cd50ec95f56884f2c4b6e58f856e50e 100644 (file)
@@ -327,7 +327,7 @@ function drop_items(array $items)
 {
        $uid = 0;
 
-       if (!local_user() && !remote_user()) {
+       if (!Session::isAuthenticated()) {
                return;
        }