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
Cleanup most of the DIY extension detection/dl() code into nice clean wfDl()
[lhc/web/wiklou.git]
/
includes
/
db
/
DatabaseMysql.php
diff --git
a/includes/db/DatabaseMysql.php
b/includes/db/DatabaseMysql.php
index
a08b694
..
68a7fee
100644
(file)
--- a/
includes/db/DatabaseMysql.php
+++ b/
includes/db/DatabaseMysql.php
@@
-26,9
+26,7
@@
class DatabaseMysql extends DatabaseBase {
# Test for missing mysql.so
# First try to load it
- if (!@extension_loaded('mysql')) {
- @dl('mysql.so');
- }
+ wfDl( 'mysql' );
# Fail now
# Otherwise we get a suppressed fatal error, which is very hard to track down