]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Settings/UserExport.php
Merge pull request #10094 from urbalazs/license-20210328
[friendica.git] / src / Module / Settings / UserExport.php
index 42ee4eb1f4649642493e91cc181c68b616269c07..2b668182e42148bf6a060b87dfdc8e3cded6e29d 100644 (file)
@@ -242,7 +242,7 @@ class UserExport extends BaseSettings
                self::exportAccount($a);
                echo "\n";
 
-               $total = DBA::count('item', ['uid' => local_user()]);
+               $total = Post::count(['uid' => local_user()]);
                // chunk the output to avoid exhausting memory
 
                for ($x = 0; $x < $total; $x += 500) {