summaryrefslogtreecommitdiffstats
path: root/lib/private/db/sqlitemigrator.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-10-17 20:16:27 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-10-16 17:02:15 +0200
commitf7097faf82604a6d8b89eed9d1d5ea3d0843e4f8 (patch)
tree384fc79ef0b77f7637ebea84604ae46b24807037 /lib/private/db/sqlitemigrator.php
parent1ebeb6792eca53f34c2ad5a9c5eed7850b40fbb6 (diff)
downloadnextcloud-server-f7097faf82604a6d8b89eed9d1d5ea3d0843e4f8.tar.gz
nextcloud-server-f7097faf82604a6d8b89eed9d1d5ea3d0843e4f8.zip
Special treatment for Oracle
Diffstat (limited to 'lib/private/db/sqlitemigrator.php')
-rw-r--r--lib/private/db/sqlitemigrator.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/private/db/sqlitemigrator.php b/lib/private/db/sqlitemigrator.php
index 18e9d19d5ee..848e4986571 100644
--- a/lib/private/db/sqlitemigrator.php
+++ b/lib/private/db/sqlitemigrator.php
@@ -10,6 +10,7 @@ namespace OC\DB;
use Doctrine\DBAL\DBALException;
use Doctrine\DBAL\Schema\Schema;
+use OCP\Security\ISecureRandom;
class SQLiteMigrator extends Migrator {
@@ -20,10 +21,11 @@ class SQLiteMigrator extends Migrator {
/**
* @param \Doctrine\DBAL\Connection $connection
+ * @param ISecureRandom $random
* @param \OCP\IConfig $config
*/
- public function __construct(\Doctrine\DBAL\Connection $connection, \OCP\IConfig $config) {
- parent::__construct($connection);
+ public function __construct(\Doctrine\DBAL\Connection $connection, ISecureRandom $random, \OCP\IConfig $config) {
+ parent::__construct($connection, $random);
$this->config = $config;
}