From: Steve W. <wai...@us...> - 2001-02-01 04:24:26
|
Update of /cvsroot/phpwiki/phpwiki/lib In directory usw-pr-cvs1:/tmp/cvs-serv10307 Modified Files: msql.php Log Message: Commented out the GetAllWikiPageNames and SetAllWikiPageNames functions. They don't work yet... and as long as they are defined, the lists of related pages appear at the bottom of all pages but have no values in them. Index: msql.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/msql.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** msql.php 2000/11/07 05:13:22 1.5 --- msql.php 2001/02/01 04:24:26 1.6 *************** *** 456,459 **** --- 456,462 ---- // takes a page name, returns array of scored incoming and outgoing links + + /* Not implemented yet. The code below was copied from mysql.php... + function GetWikiPageLinks($dbi, $pagename) { $links = array(); *************** *** 506,514 **** } - // update pagescore. rotsa ruck. msql_query("delete from wikiscore", $dbi["dbc"]); msql_query("insert into wikiscore select w1.topage, count(*) from wikilinks as w1, wikilinks as w2 where w2.topage=w1.frompage group by w1.topage", $dbi["dbc"]); } ! ?> --- 509,516 ---- } msql_query("delete from wikiscore", $dbi["dbc"]); msql_query("insert into wikiscore select w1.topage, count(*) from wikilinks as w1, wikilinks as w2 where w2.topage=w1.frompage group by w1.topage", $dbi["dbc"]); } ! */ ?> |