]> projects.mako.cc - scuttle/blobdiff - watchlist.php
initial patch to cause scuttle to work with PHP 8.2
[scuttle] / watchlist.php
index 3ecc79c6fc76aef540ce00650b0d96bd43bcdf0b..d16f9895014cc6d0fc2d456d77b36d9bb83d3649 100644 (file)
@@ -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();
 

Benjamin Mako Hill || Want to submit a patch?