]> projects.mako.cc - scuttle/blobdiff - register.php
Merge branch 'php8'
[scuttle] / register.php
index e93c2ab6d4083c7a5e79aeaa899a073b115ada08..624d4ae0a76d2b7a9e0d42c940f1a730d76591e8 100644 (file)
@@ -19,8 +19,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 ***************************************************************************/
 
 require_once 'header.inc.php';
-$userservice     =& ServiceFactory::getServiceInstance('UserService');
-$templateservice =& ServiceFactory::getServiceInstance('TemplateService');
+$sf = new ServiceFactory();
+$userservice     =& $sf->getServiceInstance('UserService');
+$templateservice =& $sf->getServiceInstance('TemplateService');
 
 $tplVars   = array();
 $completed = FALSE;

Benjamin Mako Hill || Want to submit a patch?