[pLog-svn] r2126 - plugins/trunk/templateeditor/class/action

mark at devel.plogworld.net mark at devel.plogworld.net
Tue May 31 07:42:17 GMT 2005


Author: mark
Date: 2005-05-31 07:42:16 +0000 (Tue, 31 May 2005)
New Revision: 2126

Modified:
   plugins/trunk/templateeditor/class/action/pluginblogarchivetemplatesetaction.class.php
   plugins/trunk/templateeditor/class/action/pluginsitearchivetemplatesetaction.class.php
Log:
Remove some include files that we don't need.

Modified: plugins/trunk/templateeditor/class/action/pluginblogarchivetemplatesetaction.class.php
===================================================================
--- plugins/trunk/templateeditor/class/action/pluginblogarchivetemplatesetaction.class.php	2005-05-31 07:31:21 UTC (rev 2125)
+++ plugins/trunk/templateeditor/class/action/pluginblogarchivetemplatesetaction.class.php	2005-05-31 07:42:16 UTC (rev 2126)
@@ -1,9 +1,6 @@
 <?php
     include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
     include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesetstorage.class.php" );
-	include_once( PLOG_CLASS_PATH."plugins/templateeditor/class/view/pluginblogtemplatesetslistview.class.php" );
-	include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
-	include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
 	include_once( PLOG_CLASS_PATH."plugins/templateeditor/class/archive/archive.php" );
 
     /**
@@ -25,7 +22,7 @@
         	
         	$ts = new TemplateSetStorage();
             $blogId = $this->_blogInfo->getId();
-            $baseBlogTemplateFolder = $ts->getBlogBaseTemplateFolder();
+            $baseBlogTemplateFolder = $ts->getBlogBaseTemplateFolder($blogId);
             
 			$templateArchive = new zip_file($this->_templateId.".zip");
 			$templateArchive->set_options(array( 'basedir' => $baseBlogTemplateFolder,
@@ -38,4 +35,4 @@
             return true;
         }
     }
-?>
+?>
\ No newline at end of file

Modified: plugins/trunk/templateeditor/class/action/pluginsitearchivetemplatesetaction.class.php
===================================================================
--- plugins/trunk/templateeditor/class/action/pluginsitearchivetemplatesetaction.class.php	2005-05-31 07:31:21 UTC (rev 2125)
+++ plugins/trunk/templateeditor/class/action/pluginsitearchivetemplatesetaction.class.php	2005-05-31 07:42:16 UTC (rev 2126)
@@ -1,9 +1,6 @@
 <?php
 	include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
     include_once( PLOG_CLASS_PATH."class/template/templatesets/templatesetstorage.class.php" );
-	include_once( PLOG_CLASS_PATH."plugins/templateeditor/class/view/pluginsitetemplatesetslistview.class.php" );
-	include_once( PLOG_CLASS_PATH."class/data/validator/stringvalidator.class.php" );
-	include_once( PLOG_CLASS_PATH."class/data/validator/arrayvalidator.class.php" );
 	include_once( PLOG_CLASS_PATH."plugins/templateeditor/class/archive/archive.php" );
 
     /**
@@ -38,4 +35,4 @@
             return true;
         }
     }
-?>
+?>
\ No newline at end of file




More information about the pLog-svn mailing list