From: Victor Dubiniuk Date: Tue, 8 Oct 2013 15:19:09 +0000 (+0300) Subject: OC_DB::executeAudited is not availabe in 5.0 X-Git-Tag: v5.0.13~51^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=127b81780a74d4242b54e3780c55b1c67c8d7e8a;p=nextcloud-server.git OC_DB::executeAudited is not availabe in 5.0 --- diff --git a/apps/files_sharing/lib/updater.php b/apps/files_sharing/lib/updater.php index 08aaa62e252..003d1d65ae2 100644 --- a/apps/files_sharing/lib/updater.php +++ b/apps/files_sharing/lib/updater.php @@ -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); }