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
Support redirects in JavaScriptContent
[lhc/web/wiklou.git]
/
includes
/
Category.php
diff --git
a/includes/Category.php
b/includes/Category.php
index
2521a65
..
3a21e25
100644
(file)
--- a/
includes/Category.php
+++ b/
includes/Category.php
@@
-60,7
+60,6
@@
class Category {
return true;
}
return true;
}
-
$dbr = wfGetDB( DB_SLAVE );
$row = $dbr->selectRow(
'category',
$dbr = wfGetDB( DB_SLAVE );
$row = $dbr->selectRow(
'category',
@@
-69,7
+68,6
@@
class Category {
__METHOD__
);
__METHOD__
);
-
if ( !$row ) {
# Okay, there were no contents. Nothing to initialize.
if ( $this->mTitle ) {
if ( !$row ) {
# Okay, there were no contents. Nothing to initialize.
if ( $this->mTitle ) {
@@
-281,7
+279,6
@@
class Category {
)
);
)
);
-
return $result;
}
return $result;
}
@@
-314,7
+311,6
@@
class Category {
}
}
}
}
-
$dbw = wfGetDB( DB_MASTER );
$dbw->startAtomic( __METHOD__ );
$dbw = wfGetDB( DB_MASTER );
$dbw->startAtomic( __METHOD__ );
@@
-358,7
+354,6
@@
class Category {
);
$dbw->endAtomic( __METHOD__ );
);
$dbw->endAtomic( __METHOD__ );
-
# Now we should update our local counts.
$this->mPages = $result->pages;
$this->mSubcats = $result->subcats;
# Now we should update our local counts.
$this->mPages = $result->pages;
$this->mSubcats = $result->subcats;