dwing

diff inc/comment.class.php @ 186:cfd4d1dcece4

theoretically support OpenID AX with both axschema and schema.openid.net, thank god that no provider has support for this yet somehow
author Arpad Borsos <arpad.borsos@googlemail.com>
date Thu Aug 05 12:04:49 2010 +0200 (21 months ago)
parents 2df784358c9f
children
line diff
     1.1 --- a/inc/comment.class.php	Thu Jul 23 16:12:57 2009 +0200
     1.2 +++ b/inc/comment.class.php	Thu Aug 05 12:04:49 2010 +0200
     1.3 @@ -57,7 +57,7 @@
     1.4  	public static function deleteAllFor(ContentItem $aItem, $aUseTransaction = false)
     1.5  	{
     1.6  		if($aUseTransaction)
     1.7 -			Core::$db->startTransaction();
     1.8 +			Core::$db->beginTransaction();
     1.9  		$all = new CommentIterator($aItem);
    1.10  		$all->delete();
    1.11  		if($aUseTransaction)