summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-01-07 10:12:08 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-01-07 14:54:54 +0100
commit547fbfdb76cf2094a9f75a73bb7eef385ed97cf6 (patch)
tree7cb005641c4fa90a1712bb7bb43eb8a56fe0e252 /lib
parent9d3c14c7dd102784a4e1b57ed063cddf59f63f8c (diff)
downloadnextcloud-server-547fbfdb76cf2094a9f75a73bb7eef385ed97cf6.tar.gz
nextcloud-server-547fbfdb76cf2094a9f75a73bb7eef385ed97cf6.zip
Remove OC_DB::dropTable
Diffstat (limited to 'lib')
-rw-r--r--lib/private/db.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/private/db.php b/lib/private/db.php
index a4a7b7d17d4..f339855fb20 100644
--- a/lib/private/db.php
+++ b/lib/private/db.php
@@ -254,15 +254,6 @@ class OC_DB {
}
/**
- * drop a table - the database prefix will be prepended
- * @param string $tableName the table to drop
- */
- public static function dropTable($tableName) {
- $connection = \OC::$server->getDatabaseConnection();
- $connection->dropTable($tableName);
- }
-
- /**
* remove all tables defined in a database structure xml file
* @param string $file the xml file describing the tables
*/