]> source.dussan.org Git - nextcloud-server.git/commitdiff
OC_DB::executeAudited is not availabe in 5.0
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>
Tue, 8 Oct 2013 15:19:09 +0000 (18:19 +0300)
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>
Tue, 8 Oct 2013 15:19:09 +0000 (18:19 +0300)
apps/files_sharing/lib/updater.php

index 08aaa62e252cdb319f95ab27d95607d18646036b..003d1d65ae26aa7fc5474ce201de61ad7d7effa7 100644 (file)
@@ -68,7 +68,7 @@ class Shared_Updater {
 
                $query = \OC_DB::prepare('DELETE FROM `*PREFIX*share` WHERE `file_source`=?');
                try     {
-                       \OC_DB::executeAudited($query, array($fileSource));
+                       $query->execute(array($fileSource));
                } catch (\Exception $e) {
                        \OCP\Util::writeLog('files_sharing', "can't remove share: " . $e->getMessage(), \OCP\Util::WARN);
                }