diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-09-21 15:12:00 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-09-27 18:43:53 +0200 |
commit | da0cea404d3ec2ac1c3f08e3d3791b02b3b958db (patch) | |
tree | 97460f0334cd22db70d754777680f35b04821e31 /lib/private/legacy | |
parent | 6ca8ce62288aa5b181f97c45ad62c35976dbb65f (diff) | |
download | nextcloud-server-da0cea404d3ec2ac1c3f08e3d3791b02b3b958db.tar.gz nextcloud-server-da0cea404d3ec2ac1c3f08e3d3791b02b3b958db.zip |
Kill update simulation
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib/private/legacy')
-rw-r--r-- | lib/private/legacy/db.php | 17 |
1 files changed, 0 insertions, 17 deletions
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 @@ -192,23 +192,6 @@ class OC_DB { } /** - * 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 */ |