SourceForge logo
SourceForge logo
Menu

phpwiki-checkins

From: Joel U. <uck...@us...> - 2001年06月26日 18:15:31
Update of /cvsroot/phpwiki/phpwiki/admin
In directory usw-pr-cvs1:/tmp/cvs-serv9761
Modified Files:
	lockpage.php 
Log Message:
Changed call to InsertPage to ReplaceCurrentPage.
Added $version to RetrievePage call.
Index: lockpage.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/admin/lockpage.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** lockpage.php	2001年02月13日 05:54:38	1.3
--- lockpage.php	2001年06月26日 18:15:28	1.4
***************
*** 4,8 ****
 $user->must_be_admin("lock or unlock pages");
 
! $pagehash = RetrievePage($dbi, $pagename, $WikiPageStore);
 
 if (! is_array($pagehash))
--- 4,8 ----
 $user->must_be_admin("lock or unlock pages");
 
! $pagehash = RetrievePage($dbi, $pagename, $WikiPageStore, 0);
 
 if (! is_array($pagehash))
***************
*** 14,17 ****
 $pagehash['flags'] &= ~FLAG_PAGE_LOCKED;
 
! InsertPage($dbi, $pagename, $pagehash);
 ?>
--- 14,17 ----
 $pagehash['flags'] &= ~FLAG_PAGE_LOCKED;
 
! ReplaceCurrentPage($pagename, $pagehash);
 ?>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /