dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed736e6
)
Forgotten fix: don't allow special read/write access for 'developer'
author
Brion Vibber
<brion@users.mediawiki.org>
Wed, 3 Dec 2003 23:08:44 +0000
(23:08 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Wed, 3 Dec 2003 23:08:44 +0000
(23:08 +0000)
includes/SpecialAsksql.php
patch
|
blob
|
history
diff --git
a/includes/SpecialAsksql.php
b/includes/SpecialAsksql.php
index
a4ecf02
..
2cc45bc
100644
(file)
--- a/
includes/SpecialAsksql.php
+++ b/
includes/SpecialAsksql.php
@@
-68,9
+68,7
@@
class SqlQueryForm {
and !preg_match( "/LIMIT/i", $wpSqlQuery ) ) {
$wpSqlQuery .= " LIMIT 100";
}
- if ( ! $wgUser->isDeveloper() ) {
- $connection = wfGetDB( $wgDBsqluser, $wgDBsqlpassword );
- }
+ $connection = wfGetDB( $wgDBsqluser, $wgDBsqlpassword );
$this->logQuery( $wpSqlQuery );
$res = wfQuery( $wpSqlQuery, DB_WRITE, "SpecialAsksql::doSubmit" );
$this->logFinishedQuery();