$this isn't valid in a static function. Fix for r46507
[lhc/web/wiklou.git] / includes / api / ApiFeedWatchlist.php
index 150294b..34c6650 100644 (file)
@@ -78,9 +78,6 @@ class ApiFeedWatchlist extends ApiBase {
                                $fauxReqArr['wlowner'] = $params['wlowner'];
                        }
                        if ( !is_null( $params['wltoken'] ) ) {
-                               // Don't cache tokens
-                               $this->getMain()->setCachePrivate();
-
                                $fauxReqArr['wltoken'] = $params['wltoken'];
                        }