Chad has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/97553


Change subject: Remove commented $wgArticle usages
......................................................................

Remove commented $wgArticle usages

Change-Id: I9c649bce867208e326196e4bd10837a35a11453d
---
M DPLMain.php
1 file changed, 0 insertions(+), 3 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DynamicPageList 
refs/changes/53/97553/1

diff --git a/DPLMain.php b/DPLMain.php
index f37dd83..7cfe52e 100644
--- a/DPLMain.php
+++ b/DPLMain.php
@@ -19,7 +19,6 @@
 
         global $wgUser, $wgLang, $wgContLang, $wgRequest;
         global $wgNonincludableNamespaces;
-               // global $wgArticle;
                
         //logger (display of debug messages)
         $logger = new DPLLogger();
@@ -2868,7 +2867,6 @@
                
                if (ExtDynamicPageList::$useCacheAPI && $bAllowCachedResults && 
$wgRequest->getVal('action','view')=='submit') {
 /*
-                       // CacheAPI::remDependencies ( $wgArticle->getID());
                        CacheAPI::remDependencies( 
$parser->mTitle->getArticleID());
                        
                        // add category dependencies
@@ -2891,7 +2889,6 @@
 
                        // add general dependencies
 
-                       // CacheAPI::addDependencies ( $wgArticle->getID(), 
$conditionTypes, $conditions); 
                        // CacheAPI::addDependencies ( 
$parser->mTitle->getArticleID(), $conditionTypes, $conditions); 
 */
                }

-- 
To view, visit https://gerrit.wikimedia.org/r/97553
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9c649bce867208e326196e4bd10837a35a11453d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DynamicPageList
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to