summaryrefslogtreecommitdiffstats
path: root/lib/private/db.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-04-18 15:57:13 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-04-18 15:57:13 +0200
commit47ecfd98a39e596c8f47dd9a6b14ece4e651f685 (patch)
tree3d58f98b7a3ab7346e115e1aa03361504216927c /lib/private/db.php
parent8cb0d97b1099561d7f9a059f3ba8105a2c719aab (diff)
downloadnextcloud-server-47ecfd98a39e596c8f47dd9a6b14ece4e651f685.tar.gz
nextcloud-server-47ecfd98a39e596c8f47dd9a6b14ece4e651f685.zip
DB: remove unused parameter - was forgotten during the migration to doctrine
* 377e9a8677afc92bca61fb1bb055901db8457896 <- doctrine merge
Diffstat (limited to 'lib/private/db.php')
-rw-r--r--lib/private/db.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/private/db.php b/lib/private/db.php
index 7e7bd4dd57e..673ad894b66 100644
--- a/lib/private/db.php
+++ b/lib/private/db.php
@@ -298,17 +298,16 @@ class OC_DB {
}
}
- public static function getErrorCode($error) {
+ public static function getErrorCode() {
$connection = \OC::$server->getDatabaseConnection();
return $connection->errorCode();
}
/**
* returns the error code and message as a string for logging
* works with DoctrineException
- * @param mixed $error
* @return string
*/
- public static function getErrorMessage($error) {
+ public static function getErrorMessage() {
$connection = \OC::$server->getDatabaseConnection();
return $connection->getError();
}