]> git.mxchange.org Git - friendica.git/blobdiff - mod/videos.php
Make frio more consistent by replacing textual links with icons everywhere. (#5415)
[friendica.git] / mod / videos.php
index 75a4d031f333441359f230ab62c8e8327dce3f43..0dd653e914d724e7dce19865cfe175f9da4ed038 100644 (file)
@@ -19,7 +19,6 @@ use Friendica\Protocol\DFRN;
 use Friendica\Util\DateTimeFormat;
 
 require_once 'include/items.php';
-require_once 'include/acl_selectors.php';
 require_once 'include/security.php';
 
 function videos_init(App $a) {
@@ -170,7 +169,7 @@ function videos_post(App $a) {
                        );
 
                        if (DBM::is_result($i)) {
-                               Item::deleteById($i[0]['id']);
+                               Item::deleteForUser(['id' => $i[0]['id']], local_user());
                        }
                }