]> projects.mako.cc - scuttle/blobdiff - profile.php
updated readme with information on a series of bugs I know exist
[scuttle] / profile.php
index 81be208066618bf169bace4e8737a9374b7ef0db..a5a137c978289e28d6d14207b56220ef1811e2ee 100644 (file)
@@ -19,8 +19,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 ***************************************************************************/
 
 require_once 'header.inc.php';
-$templateservice =& ServiceFactory::getServiceInstance('TemplateService');
-$userservice =& ServiceFactory::getServiceInstance('UserService');
+$sf = new ServiceFactory();
+$templateservice =& $sf->getServiceInstance('TemplateService');
+$userservice     =& $sf->getServiceInstance('UserService');
 
 $tplVars = array();
 

Benjamin Mako Hill || Want to submit a patch?