diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-01-07 10:22:30 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-01-07 14:54:55 +0100 |
commit | fddece9552a4b194cdce8c3916e33fa8597c9008 (patch) | |
tree | ac7ebf668c4dd677e92922e35ff7f0be189935b4 /tests/lib/repair | |
parent | 0a41cfefe38e8bf352895f2b87dd9a04fd627094 (diff) | |
download | nextcloud-server-fddece9552a4b194cdce8c3916e33fa8597c9008.tar.gz nextcloud-server-fddece9552a4b194cdce8c3916e33fa8597c9008.zip |
Remove OC_DB::insertid
Diffstat (limited to 'tests/lib/repair')
-rw-r--r-- | tests/lib/repair/repairlegacystorage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/repair/repairlegacystorage.php b/tests/lib/repair/repairlegacystorage.php index 44afd6125ab..3ae6578f7ec 100644 --- a/tests/lib/repair/repairlegacystorage.php +++ b/tests/lib/repair/repairlegacystorage.php @@ -99,7 +99,7 @@ class RepairLegacyStorages extends TestCase { $numRows = $this->connection->executeUpdate($sql, array($storageId)); $this->assertEquals(1, $numRows); - return \OC_DB::insertid('*PREFIX*storages'); + return \OC::$server->getDatabaseConnection()->lastInsertId('*PREFIX*storages'); } /** |