]> projects.mako.cc - scuttle/blobdiff - importNetscape.php
Merge branch 'php8'
[scuttle] / importNetscape.php
index f953ffc8a1f4ac0e324ec6dab155e332b71c237e..e78acabc537cb2384c039ead1a3e7d61bf681f3f 100644 (file)
@@ -20,9 +20,10 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 require_once 'header.inc.php';
 
 
 require_once 'header.inc.php';
 
-$bookmarkservice =& ServiceFactory::getServiceInstance('BookmarkService');
-$userservice     =& ServiceFactory::getServiceInstance('UserService');
-$templateservice =& ServiceFactory::getServiceInstance('TemplateService');
+$sf = new ServiceFactory();
+$bookmarkservice =& $sf->getServiceInstance('BookmarkService');
+$userservice     =& $sf->getServiceInstance('UserService');
+$templateservice =& $sf->getServiceInstance('TemplateService');
 
 $tplVars = array();
 
 
 $tplVars = array();
 

Benjamin Mako Hill || Want to submit a patch?