[pLog-svn] r1073 - in plugins/trunk: delicious flickr

mark at devel.plogworld.net mark at devel.plogworld.net
Mon Feb 14 17:15:12 GMT 2005


Author: mark
Date: 2005-02-14 17:15:11 +0000 (Mon, 14 Feb 2005)
New Revision: 1073

Modified:
   plugins/trunk/delicious/plugindelicious.class.php
   plugins/trunk/flickr/pluginflickr.class.php
Log:
Remove unused parameter $template from pluginTemplatePage(), I forgot why I put that parameter there. Weird.

Modified: plugins/trunk/delicious/plugindelicious.class.php
===================================================================
--- plugins/trunk/delicious/plugindelicious.class.php	2005-02-14 15:51:49 UTC (rev 1072)
+++ plugins/trunk/delicious/plugindelicious.class.php	2005-02-14 17:15:11 UTC (rev 1073)
@@ -13,6 +13,7 @@
      */
     class PluginDelicious extends PluginBase
     {
+        var $pluginEnabled;
         var $userName;              //Your del.icio.us account logon 
         var $password;              //Your del.icio.u account password
         var $userRoot;             //Root for links in the output
@@ -63,7 +64,7 @@
 	        return $this->pluginEnabled;
 	    }
 
-        function pluginTemplatePage( $template )
+        function pluginTemplatePage()
         {
  			$rg = new RawRequestGenerator($this->blogInfo);
             
@@ -80,7 +81,7 @@
          */
         function getTagList()
         {
-            $this->userRoot = $this->pluginTemplatePage( "delicious" );
+            $this->userRoot = $this->pluginTemplatePage();
  
             // instanciate delicious object
             $del = new delicious($this->userName,$this->password);

Modified: plugins/trunk/flickr/pluginflickr.class.php
===================================================================
--- plugins/trunk/flickr/pluginflickr.class.php	2005-02-14 15:51:49 UTC (rev 1072)
+++ plugins/trunk/flickr/pluginflickr.class.php	2005-02-14 17:15:11 UTC (rev 1073)
@@ -24,7 +24,8 @@
      */
     class PluginFlickr extends PluginBase
     {
-        var $cacheFolder;            //pLog Temp Folder
+        var $cacheFolder;           //pLog Temp Folder
+        var $pluginEnabled;
         var $email;                 //Your Flickr account logon (email address you registered with)
         var $password;              //Your Flickr account password
         var $aliasName;             //Your Flickr alias name
@@ -88,7 +89,7 @@
 	        return $this->pluginEnabled;
 	    }
 		
-        function pluginTemplatePage( $template )
+        function pluginTemplatePage()
         {
  			$rg = new RawRequestGenerator($this->blogInfo);
             
@@ -108,7 +109,7 @@
             $apiUrl = FLICKR_GET_PHOTOLIST.FLICKR_API_KEY;
             $apiUrl .= '&email=' . $this->email . '&password=' . $this->password;    
 
-            $this->userRoot = $this->pluginTemplatePage( "flickr" );
+            $this->userRoot = $this->pluginTemplatePage();
 
             $data = $this->cached_get_file_contents($apiUrl, 'r', $this->expiredTime, $this->cacheFolder);
             $parser = new XMLParser($data, 'raw', 1);
@@ -168,7 +169,7 @@
             $parser = new XMLParser($data, 'raw', 1);
             $tree = $parser->getTree();
 
-            $this->userRoot = $this->pluginTemplatePage( "flickr" );
+            $this->userRoot = $this->pluginTemplatePage();
 
             $totalPhotos = count($tree['RSP']['PHOTOSET']['PHOTO']);
             $photos = Array();
@@ -212,7 +213,7 @@
             else
                 $apiUrl .= '&email=' . $this->email . '&password=' . $this->password . '&photo_id=' . $photoId;
             
-            $this->userRoot = $this->pluginTemplatePage( "flickr" ); 
+            $this->userRoot = $this->pluginTemplatePage(); 
  
             $data = $this->cached_get_file_contents($apiUrl, 'r', $this->expiredTime, $this->cacheFolder);
             $parser = new XMLParser($data, 'raw', 1);




More information about the pLog-svn mailing list