summaryrefslogtreecommitdiffstats
path: root/lib/db
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-06-28 11:42:23 +0200
committerBart Visscher <bartv@thisnet.nl>2013-06-28 11:42:23 +0200
commit6145e617185e24919eaf6e94dddeb3b3be735b8c (patch)
treec0f949f902ea8dbe135142a226870c5498958204 /lib/db
parent74016666c114236b354c6aa7fe3ec2c854a72e9b (diff)
downloadnextcloud-server-6145e617185e24919eaf6e94dddeb3b3be735b8c.tar.gz
nextcloud-server-6145e617185e24919eaf6e94dddeb3b3be735b8c.zip
Remove deadcode
Diffstat (limited to 'lib/db')
-rw-r--r--lib/db/mdb2schemareader.php3
-rw-r--r--lib/db/schema.php3
2 files changed, 0 insertions, 6 deletions
diff --git a/lib/db/mdb2schemareader.php b/lib/db/mdb2schemareader.php
index 19d0ba4d4ea..702482b569f 100644
--- a/lib/db/mdb2schemareader.php
+++ b/lib/db/mdb2schemareader.php
@@ -26,9 +26,6 @@ class OC_DB_MDB2SchemaReader {
foreach($xml->children() as $child) {
switch($child->getName()) {
case 'name':
- $name = (string)$child;
- $name = str_replace( '*dbname*', self::$DBNAME, $name );
- break;
case 'create':
case 'overwrite':
case 'charset':
diff --git a/lib/db/schema.php b/lib/db/schema.php
index 3d5b404825a..fa053c64ef0 100644
--- a/lib/db/schema.php
+++ b/lib/db/schema.php
@@ -7,9 +7,6 @@
*/
class OC_DB_Schema {
- private static $DBNAME;
- private static $DBTABLEPREFIX;
-
/**
* @brief saves database scheme to xml file
* @param \Doctrine\DBAL\Connection $conn