summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/db.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-09-28 16:29:09 +0200
committerGitHub <noreply@github.com>2016-09-28 16:29:09 +0200
commit19f94ac5f9d08b958602ab07848a5c22d183b027 (patch)
tree7004a4a9da3b88d66f94b5252af58316c61b91d0 /lib/private/legacy/db.php
parent32640c9a5b1a2b6f09511b42b71a8320d28279ce (diff)
parent3b7f548b0f17e757810de97b2d098835fccd791b (diff)
downloadnextcloud-server-19f94ac5f9d08b958602ab07848a5c22d183b027.tar.gz
nextcloud-server-19f94ac5f9d08b958602ab07848a5c22d183b027.zip
Merge pull request #1549 from nextcloud/kill-update-simulation
Kill update simulation
Diffstat (limited to 'lib/private/legacy/db.php')
-rw-r--r--lib/private/legacy/db.php17
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
*/