cvs: livedocs / livedoc_funcs.php
| From: | Hannes Magnusson | Date: | Mon, 25 Jun 2007 15:21:25 +0000 |
| Subject: | cvs: livedocs / livedoc_funcs.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969376858@lists.php.net to get a copy of this message | ||
bjori Mon Jun 25 15:21:25 2007 UTC
Modified files:
/livedocs livedoc_funcs.php
Log:
Let phpweb handle the printing of the notes
http://cvs.php.net/viewvc.cgi/livedocs/livedoc_funcs.php?r1=1.32&r2=1.33&diff_format=u
Index: livedocs/livedoc_funcs.php
diff -u livedocs/livedoc_funcs.php:1.32 livedocs/livedoc_funcs.php:1.33
--- livedocs/livedoc_funcs.php:1.32 Tue Jun 19 23:22:52 2007
+++ livedocs/livedoc_funcs.php Mon Jun 25 15:21:25 2007
@@ -285,6 +285,11 @@
function format_user_notes($id)
{
+ // Let phpweb handle the notes
+ if (defined("PHPNET")) {
+ return "";
+ }
+
$notes = sqlite_array_query($GLOBALS['NOTESDB'], "SELECT id, xwhen, who, note from
notes where sect='$id' order by xwhen desc");
if (empty($notes))
return '';