Remove unused ApiStashEdit variable
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 16 Dec 2015 05:23:23 +0000 (21:23 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 16 Dec 2015 05:23:23 +0000 (21:23 -0800)
Change-Id: Ifd85dd6b96e80d7c1163566153e8d746b27754d8

includes/api/ApiStashEdit.php

index 208e9ca..6ca9c7c 100644 (file)
@@ -41,8 +41,6 @@ class ApiStashEdit extends ApiBase {
        const ERROR_UNCACHEABLE = 'uncacheable';
 
        public function execute() {
-               $cache = ObjectCache::getLocalClusterInstance();
-
                $user = $this->getUser();
                $params = $this->extractRequestParams();