cvs: pearweb /public_html/notes/admin trans.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Tue, 25 Mar 2008 02:32:31 +0000 |
| Subject: | cvs: pearweb /public_html/notes/admin trans.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-7382@lists.php.net to get a copy of this message | ||
dufuz Tue Mar 25 02:32:31 2008 UTC
Modified files:
/pearweb/public_html/notes/admin trans.php
Log:
spam protect is now in bugs utils
http://cvs.php.net/viewvc.cgi/pearweb/public_html/notes/admin/trans.php?r1=1.23&r2=1.24&diff_format=u
Index: pearweb/public_html/notes/admin/trans.php
diff -u pearweb/public_html/notes/admin/trans.php:1.23
pearweb/public_html/notes/admin/trans.php:1.24
--- pearweb/public_html/notes/admin/trans.php:1.23 Sat Feb 9 19:34:47 2008
+++ pearweb/public_html/notes/admin/trans.php Tue Mar 25 02:32:31 2008
@@ -29,8 +29,8 @@
if (!empty($note['user_handle'])) {
$ldesc .= user_link($note['user_handle'], true);
} else {
- include_once dirname(dirname(dirname(__FILE__))) .
'/bugs/include/functions.inc';
- $ldesc .= spam_protect($note['user_name'], 'text');
+ include_once 'bugs/pear-bugs-utils.php';
+ $ldesc .= PEAR_Bugs_Utils::spamProtect($note['user_name'],
'text');
}
$ldesc .= "\n\n" . str_replace('<br />',
'', $dbh->escapeSimple(html_entity_decode($note['note_text'])));
$package_version = null;