]> projects.mako.cc - scuttle/blobdiff - tagrename.php
updated readme with information on a series of bugs I know exist
[scuttle] / tagrename.php
index 87163b0adf7470301e068d8ddef9aff597e89cfa..dc3abb992923ab14e79ae19804d641d8b3316a54 100644 (file)
@@ -19,9 +19,10 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 ***************************************************************************/
 
 require_once 'header.inc.php';
-$tagservice = & ServiceFactory :: getServiceInstance('TagService');
-$templateservice = & ServiceFactory :: getServiceInstance('TemplateService');
-$userservice = & ServiceFactory :: getServiceInstance('UserService');
+$sf = new ServiceFactory();
+$tagservice =& $sf->getServiceInstance('TagService');
+$templateservice =& $sf->getServiceInstance('TemplateService');
+$userservice     =& $sf->getServiceInstance('UserService');
 
 list ($url, $tag) = explode('/', $_SERVER['PATH_INFO']);
 

Benjamin Mako Hill || Want to submit a patch?