]> projects.mako.cc - scuttle/blobdiff - alltags.php
removed code for string overloading
[scuttle] / alltags.php
index 331ac592a4e21def873425dd115f66c1167651d6..8423872f43b9ab4a231d6ed23747bf89adb7e17a 100644 (file)
@@ -20,10 +20,11 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 require_once 'header.inc.php';
 
-$templateservice =& ServiceFactory::getServiceInstance('TemplateService');
-$tagservice      =& ServiceFactory::getServiceInstance('TagService');
-$userservice     =& ServiceFactory::getServiceInstance('UserService');
-$cacheservice    =& ServiceFactory::getServiceInstance('CacheService');
+$sf = new ServiceFactory();
+$bookmarkservice =& $sf->getServiceInstance('BookmarkService');
+$templateservice =& $sf->getServiceInstance('TemplateService');
+$userservice     =& $sf->getServiceInstance('UserService');
+$cacheservice    =& $sf->getServiceInstance('CacheService');
 
 @list($url, $user) = explode('/', $_SERVER['PATH_INFO']);
 if (!$user) {

Benjamin Mako Hill || Want to submit a patch?