X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/4aa12354e396c6f1551076d515e0e7a81bf54266..91d3a96bb7741ba92d2d3d7a7dc7d18e0d79688f:/templates/dynamictags.inc.php diff --git a/templates/dynamictags.inc.php b/templates/dynamictags.inc.php index d7f094a..a4fd3f4 100644 --- a/templates/dynamictags.inc.php +++ b/templates/dynamictags.inc.php @@ -18,8 +18,9 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ***************************************************************************/ -$tagservice =& ServiceFactory::getServiceInstance('TagService'); -$userservice =& ServiceFactory::getServiceInstance('UserService'); +$sf = new ServiceFactory(); +$tagservice =& $sf->getServiceInstance('TagService'); +$userservice =& $sf->getServiceInstance('UserService'); $logged_on_userid = $userservice->getCurrentUserId();