[vanillin commit] r282 - trunk/library/Vanilla

0 views
Skip to first unread message

codesite...@google.com

unread,
Sep 30, 2007, 4:56:39 PM9/30/07
to vanilli...@googlegroups.com
Author: helgith
Date: Sun Sep 30 13:56:33 2007
New Revision: 282

Modified:
trunk/library/Vanilla/CommentManager.php

Log:
Remove the usage of internal ObjectFactory usage.

Modified: trunk/library/Vanilla/CommentManager.php
==============================================================================
--- trunk/library/Vanilla/CommentManager.php (original)
+++ trunk/library/Vanilla/CommentManager.php Sun Sep 30 13:56:33 2007
@@ -231,7 +231,7 @@
{
$session = Session::getInstance();
$Search->FormatPropertiesForDatabaseInput();
- $s = $this->Context->ObjectFactory->NewObject('SqlSearch');
+ $s = ObjectFactory::getInstance()->NewObject('SqlSearch');
$s->SetMainTable('Comment', 'c');

$s->AddJoin('User', 'a', 'UserID', 'c', 'AuthUserID', 'inner join');

Reply all
Reply to author
Forward
0 new messages