]> projects.mako.cc - scuttle/blobdiff - edit.php
Merge branch 'php8'
[scuttle] / edit.php
index fbbc083a798798ea7b7f0ba45d54aab68b54d89d..0358a4d1cffdff274724767f7dc687c2cd781adc 100644 (file)
--- a/edit.php
+++ b/edit.php
@@ -20,9 +20,10 @@ 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');
+$sf = new ServiceFactory();
+$bookmarkservice =& $sf->getServiceInstance('BookmarkService');
+$templateservice =& $sf->getServiceInstance('TemplateService');
+$userservice     =& $sf->getServiceInstance('UserService');
 
 // Header variables
 $tplVars['subtitle'] = T_('Edit Bookmark');

Benjamin Mako Hill || Want to submit a patch?