diff --git a/src/Database/DBA.php b/src/Database/DBA.php index 34b11e4660..c145b456d7 100644 --- a/src/Database/DBA.php +++ b/src/Database/DBA.php @@ -283,7 +283,7 @@ class DBA * * @return boolean Was the command executed successfully? */ - public function rollback() + public static function rollback() { return self::$dba->rollback(); } @@ -438,7 +438,7 @@ class DBA * @param bool $do_close * @return array Data array */ - public function toArray($stmt, $do_close = true) + public static function toArray($stmt, $do_close = true) { return self::$dba->toArray($stmt, $do_close); }