Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv30925
Modified Files:
dbmlib.php
Log Message:
Converted white space only; I ran indent-region on the whole buffer in
Emacs while in PHP mode; then I hunted through the file for any
inconsistencies (there were a couple), then ran untabify on the whole
buffer. This is largely what the code style should look like.
Index: dbmlib.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/dbmlib.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** dbmlib.php 2001/02/17 05:36:21 1.9
--- dbmlib.php 2001/06/22 21:24:40 1.10
***************
*** 1,39 ****
<?php
! rcs_id('$Id$');
! /*
! Database functions:
! OpenDataBase($table)
! CloseDataBase($dbi)
! RetrievePage($dbi, $pagename, $pagestore)
[...975 lines suppressed...]
! // set the new tolinks for $pagename
! $cache[$pagename]['tolinks'] = $linklist;
! // add $pagename to the fromlinks of pages in $linklist
! reset($linklist);
! while (list($link, $dummy) = each($linklist)) {
! if ($cache[$link]) // existing page?
! $cache[$link]['fromlinks'][$pagename] = 1;
! }
! // Phase 4: write $cache back to 'wikilinks'
! // ---------------------------------------------------------------
! reset($cache);
! while (list($link,$fromAndTolinks) = each($cache))
! InsertPage($dbi, $link, $fromAndTolinks, 'wikilinks');
! }
// For emacs users
|