summaryrefslogtreecommitdiff
path: root/includes/WatchedItem.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2006-10-11 20:21:25 +0000
committerPierre Schmitz <pierre@archlinux.de>2006-10-11 20:21:25 +0000
commitd81f562b712f2387fa02290bf2ca86392ab356f2 (patch)
treed666cdefbe6ac320827a2c6cb473581b46e22c4c /includes/WatchedItem.php
parent183851b06bd6c52f3cae5375f433da720d410447 (diff)
Aktualisierung auf Version 1.8.1
Diffstat (limited to 'includes/WatchedItem.php')
-rw-r--r--includes/WatchedItem.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/WatchedItem.php b/includes/WatchedItem.php
index 3885bb98..788774fb 100644
--- a/includes/WatchedItem.php
+++ b/includes/WatchedItem.php
@@ -35,8 +35,7 @@ class WatchedItem {
* Returns the memcached key for this item
*/
function watchKey() {
- global $wgDBname;
- return "$wgDBname:watchlist:user:$this->id:page:$this->ns:$this->ti";
+ return wfMemcKey( 'watchlist', 'user', $this->id, 'page', $this->ns, $this->ti );
}
/**