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
Replace more uses of "SELECT *"
[lhc/web/wiklou.git]
/
includes
/
MovePage.php
diff --git
a/includes/MovePage.php
b/includes/MovePage.php
index
2f8255b
..
fe82465
100644
(file)
--- a/
includes/MovePage.php
+++ b/
includes/MovePage.php
@@
-310,7
+310,7
@@
class MovePage {
# Protect the redirect title as the title used to be...
$res = $dbw->select(
'page_restrictions',
# Protect the redirect title as the title used to be...
$res = $dbw->select(
'page_restrictions',
-
'*'
,
+
[ 'pr_type', 'pr_level', 'pr_cascade', 'pr_user', 'pr_expiry' ]
,
[ 'pr_page' => $pageid ],
__METHOD__,
'FOR UPDATE'
[ 'pr_page' => $pageid ],
__METHOD__,
'FOR UPDATE'