From 127b81780a74d4242b54e3780c55b1c67c8d7e8a Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Tue, 8 Oct 2013 18:19:09 +0300 Subject: [PATCH] OC_DB::executeAudited is not availabe in 5.0 --- apps/files_sharing/lib/updater.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5