dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "rdbms: clean up and simplify toString() handle for Database"
[lhc/web/wiklou.git]
/
includes
/
libs
/
rdbms
/
database
/
DatabaseSqlite.php
diff --git
a/includes/libs/rdbms/database/DatabaseSqlite.php
b/includes/libs/rdbms/database/DatabaseSqlite.php
index
0280362
..
aff3774
100644
(file)
--- a/
includes/libs/rdbms/database/DatabaseSqlite.php
+++ b/
includes/libs/rdbms/database/DatabaseSqlite.php
@@
-1119,15
+1119,6
@@
class DatabaseSqlite extends Database {
return true;
}
- /**
- * @return string
- */
- public function __toString() {
- return is_object( $this->conn )
- ? 'SQLite ' . (string)$this->conn->getAttribute( PDO::ATTR_SERVER_VERSION )
- : '(not connected)';
- }
-
/**
* @return PDO
*/