X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/6b106efb4f8497f1bd9dc334683751508caa176e..HEAD:/watchlist.php diff --git a/watchlist.php b/watchlist.php index 3ecc79c..d16f989 100644 --- a/watchlist.php +++ b/watchlist.php @@ -19,10 +19,11 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ***************************************************************************/ require_once 'header.inc.php'; -$bookmarkservice =& ServiceFactory::getServiceInstance('BookmarkService'); -$templateservice =& ServiceFactory::getServiceInstance('TemplateService'); -$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'); $tplVars = array();