]> git.mxchange.org Git - friendica.git/blobdiff - mod/wall_attach.php
Uncommon logger levels in Friendica (#5453)
[friendica.git] / mod / wall_attach.php
index 29c790843a7dd8ef4513b08c7fe835735a1ea6eb..cf5d11f8bf26d1429a6e213beb2318e95b063ece 100644 (file)
@@ -7,6 +7,7 @@ use Friendica\App;
 use Friendica\Core\Config;
 use Friendica\Core\L10n;
 use Friendica\Core\System;
+use Friendica\Database\DBA;
 use Friendica\Database\DBM;
 use Friendica\Util\DateTimeFormat;
 use Friendica\Util\Mimetype;
@@ -129,7 +130,7 @@ function wall_attach_post(App $a) {
                'filesize' => $filesize, 'data' => $filedata, 'created' => $created, 'edited' => $created,
                'allow_cid' => '<' . $page_owner_cid . '>', 'allow_gid' => '','deny_cid' => '', 'deny_gid' => ''];
 
-       $r = dba::insert('attach', $fields);
+       $r = DBA::insert('attach', $fields);
 
        @unlink($src);