Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1:/tmp/cvs-serv10692
Modified Files:
serendipity_functions.inc.php
Log Message:
Why call unknown function serendipity_() ?
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- serendipity_functions.inc.php 22 May 2003 23:01:00 -0000 1.43
+++ serendipity_functions.inc.php 23 May 2003 22:49:39 -0000 1.44
@@ -801,8 +801,7 @@
/**
*
*/
-function
-add_trackback ($id, $title, $url, $name, $excerpt)
+function add_trackback ($id, $title, $url, $name, $excerpt)
{
global $serendipity;
@@ -816,8 +815,7 @@
return 1;
}
-function
-add_pingback ($id, $postdata)
+function add_pingback ($id, $postdata)
{
global $serendipity;
@@ -828,7 +826,7 @@
$comment['url'] = $remote;
$comment['comment'] = '';
$comment['name'] = '';
- serendipity_($id, $comment, 'PINGBACK');
+ serendipity_saveComment($id, $comment, 'PINGBACK');
return 1;
}
return 0;
@@ -837,8 +835,7 @@
/**
* Cut text
*/
-function
-serendipity_trackback_excerpt($text)
+function serendipity_trackback_excerpt($text)
{
return substr($text, 0, 255);
}
@@ -893,8 +890,7 @@
/**
* search through link body, and automatically send a trackback ping.
*/
-function
-serendipity_handle_references($id, $author, $title, $text)
+function serendipity_handle_references($id, $author, $title, $text)
{
global $serendipity;
|