summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-04-18 22:47:40 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-18 22:47:40 +0200
commitd2a31bcd9365f8158a30e12ec8ef09b438f49bcb (patch)
treeb6a9242cc0f3a1445cbf8850809a5c6d54384e90 /lib/public
parentc922b09f2636cd55591f37287c5d4df40f4171ab (diff)
parente837927ad573d1c8fbcecc1759859d6a3465c691 (diff)
downloadnextcloud-server-d2a31bcd9365f8158a30e12ec8ef09b438f49bcb.tar.gz
nextcloud-server-d2a31bcd9365f8158a30e12ec8ef09b438f49bcb.zip
Merge pull request #15727 from owncloud/cleanup-db-interface
DB: remove unused parameter - was forgotten during the migration to doct...
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/db.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/public/db.php b/lib/public/db.php
index 02d0f6ddef4..c188352d77b 100644
--- a/lib/public/db.php
+++ b/lib/public/db.php
@@ -125,12 +125,11 @@ class DB {
/**
* returns the error code and message as a string for logging
* works with DoctrineException
- * @param mixed $error
* @return string
* @since 6.0.0
*/
- public static function getErrorMessage($error) {
- return(\OC_DB::getErrorMessage($error));
+ public static function getErrorMessage() {
+ return(\OC_DB::getErrorMessage());
}
}