Update of /cvsroot/php-blog/serendipity/plugins/serendipity_event_spamblock
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29559/plugins/serendipity_event_spamblock
Modified Files:
serendipity_event_spamblock.php
Log Message:
make the plugin work with 0.7
Index: serendipity_event_spamblock.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- serendipity_event_spamblock.php 14 Feb 2005 10:53:15 -0000 1.50
+++ serendipity_event_spamblock.php 22 Feb 2005 13:42:28 -0000 1.51
@@ -6,6 +6,12 @@
include $probelang;
}
+if (!function_exists('serendipity_serverOffsetHour')) {
+ function serendipity_serverOffsetHour() {
+ return time();
+ }
+}
+
switch ($serendipity['lang']) {
case 'de':
@define('PLUGIN_EVENT_SPAMBLOCK_TITLE', 'Spamschutz');
|