From da0cea404d3ec2ac1c3f08e3d3791b02b3b958db Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 21 Sep 2016 15:12:00 +0200 Subject: Kill update simulation Signed-off-by: Lukas Reschke --- lib/private/legacy/db.php | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'lib/private/legacy') diff --git a/lib/private/legacy/db.php b/lib/private/legacy/db.php index 2d48e830ec2..415701d4024 100644 --- a/lib/private/legacy/db.php +++ b/lib/private/legacy/db.php @@ -191,23 +191,6 @@ class OC_DB { return $result; } - /** - * simulate the database schema update - * @param string $file file to read structure from - * @throws Exception - * @return string|boolean - */ - public static function simulateUpdateDbFromStructure($file) { - $schemaManager = self::getMDB2SchemaManager(); - try { - $result = $schemaManager->simulateUpdateDbFromStructure($file); - } catch (Exception $e) { - \OCP\Util::writeLog('core', 'Simulated database structure update failed ('.$e.')', \OCP\Util::FATAL); - throw $e; - } - return $result; - } - /** * remove all tables defined in a database structure xml file * @param string $file the xml file describing the tables -- cgit v1.2.3