[pLog-svn] r6148 - plugins/branches/lifetype-1.2/akismet
pwestbro at devel.lifetype.net
pwestbro at devel.lifetype.net
Mon Jan 7 06:48:44 EST 2008
Author: pwestbro
Date: 2008-01-07 06:48:44 -0500 (Mon, 07 Jan 2008)
New Revision: 6148
Modified:
plugins/branches/lifetype-1.2/akismet/pluginakismet.class.php
Log:
Don't print debugging string when the user doesn't have permissions to
delete comments from the admin screen
Modified: plugins/branches/lifetype-1.2/akismet/pluginakismet.class.php
===================================================================
--- plugins/branches/lifetype-1.2/akismet/pluginakismet.class.php 2008-01-06 19:35:09 UTC (rev 6147)
+++ plugins/branches/lifetype-1.2/akismet/pluginakismet.class.php 2008-01-07 11:48:44 UTC (rev 6148)
@@ -1,7 +1,7 @@
<?php
/*
- Copyright 2006 Paul Westbrook (paul at westbrooks.org)
+ Copyright 2006, 2008 Paul Westbrook (paul at westbrooks.org)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -32,7 +32,7 @@
$this->desc = "Akismet checks your comments against the Akismet web serivce to see if they look like spam or not.";
$this->author = "Paul Westbrook (Akismet php library provided by <a href=\"http://miphp.net/blog/view/php4_akismet_class\">Bret Kuhns</a>)";
$this->locales = Array( "en_UK" );
- $this->version = "20070914";
+ $this->version = "20080107";
if( $source == "admin" )
$this->initAdmin();
@@ -113,7 +113,7 @@
$content = str_replace( $match[0], $newStr, $content );
}
else{
- print "couldn't find id";
+ // print "couldn't find id";
}
}
@@ -133,4 +133,4 @@
}
}
-?>
\ No newline at end of file
+?>
More information about the pLog-svn
mailing list