]> git.mxchange.org Git - friendica.git/blobdiff - include/files.php
Resubmit all profiles on directory change
[friendica.git] / include / files.php
index b3bd7690fe7194a9403fc4b386343f17e1210e56..7bff0e3468bd7d0331e0549ce2dd9c3616aa574a 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 function create_files_from_item($itemid) {
-       global $a;
+       $a = get_app();
 
        $messages = q("SELECT `guid`, `uid`, `id`, `edited`, `deleted`, `file`, `parent` FROM `item` WHERE `id` = %d LIMIT 1", intval($itemid));