Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThomas Schmidt <tschmidt@suse.de>2011-09-30 19:03:04 +0400
committerThomas Schmidt <tschmidt@suse.de>2011-09-30 19:03:04 +0400
commitc3b57944ac31f63cbbd575dfd7200fa3b050f4ef (patch)
treee98544cf1a703df28a3ad9e7a042fd6a160f7b08 /lib
parent7fb89c5386fe7f1a1e238853a24d1da556ab9719 (diff)
Revert "enhance detection of un-initialized database", conflicted with setup step, needs rework
This reverts commit 7fb89c5386fe7f1a1e238853a24d1da556ab9719.
Diffstat (limited to 'lib')
-rw-r--r--lib/MDB2/Driver/sqlite3.php6
-rw-r--r--lib/db.php8
2 files changed, 0 insertions, 14 deletions
diff --git a/lib/MDB2/Driver/sqlite3.php b/lib/MDB2/Driver/sqlite3.php
index 967e3335b13..a41aeed4850 100644
--- a/lib/MDB2/Driver/sqlite3.php
+++ b/lib/MDB2/Driver/sqlite3.php
@@ -582,12 +582,6 @@ class MDB2_Driver_sqlite3 extends MDB2_Driver_Common
return $query;
}
- /* Dummy interface for sqlite, to stay compatible with the database abstraction */
- function getUserInfo() {
- return "sqlite standard user";
- }
-
-
// }}}
// {{{ getServerVersion()
diff --git a/lib/db.php b/lib/db.php
index 4bcb184b100..ede8ba897e9 100644
--- a/lib/db.php
+++ b/lib/db.php
@@ -97,14 +97,6 @@ class OC_DB {
die( $error );
}
- self::$DBConnection->loadModule('Manager');
- if (count(self::$DBConnection->listTables()) == 0) {
- $error = 'database tables not initialized, using '.$CONFIG_DBTYPE.'. ('.self::$DBConnection->getUserInfo() . ')';
- if(defined("DEBUG") && DEBUG) {error_log( $error);}
- if(defined("DEBUG") && DEBUG) {error_log( self::$DBConnection->getUserInfo());}
- die( $error );
- }
-
// We always, really always want associative arrays
self::$DBConnection->setFetchMode(MDB2_FETCHMODE_ASSOC);