summaryrefslogtreecommitdiffstats
path: root/lib/private/Setup/OCI.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-07-18 14:20:29 +0200
committerJoas Schilling <coding@schilljs.com>2017-07-25 12:47:37 +0200
commit5e04254d40b427f43ac0cf05f684812c4008aaf5 (patch)
tree008523e99ab742e7837e26e40bbabd057d5b288f /lib/private/Setup/OCI.php
parentf6c48b1548763e0eda66af7c2720d363e1671090 (diff)
downloadnextcloud-server-5e04254d40b427f43ac0cf05f684812c4008aaf5.tar.gz
nextcloud-server-5e04254d40b427f43ac0cf05f684812c4008aaf5.zip
Install from migrations
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Setup/OCI.php')
-rw-r--r--lib/private/Setup/OCI.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/private/Setup/OCI.php b/lib/private/Setup/OCI.php
index 1bc6b08117f..3051987917c 100644
--- a/lib/private/Setup/OCI.php
+++ b/lib/private/Setup/OCI.php
@@ -165,14 +165,7 @@ class OCI extends AbstractDatabase {
$entry .= $this->trans->t('Offending command was: "%s"', array($query)) . '<br />';
$this->logger->warning( $entry, ['app' => 'setup.oci']);
}
- $result = oci_execute($stmt);
-
- if($result) {
- $row = oci_fetch_row($stmt);
- }
- if(!$result or $row[0]==0) {
- \OC_DB::createDbFromStructure($this->dbDefinitionFile);
- }
+ oci_execute($stmt);
}
/**