dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b292c89
)
Added 'DELETE FROM linkscc' in case table exists, since it's serialized objects whose...
author
Mr. E23
<e23@users.mediawiki.org>
Tue, 25 Nov 2003 17:55:45 +0000
(17:55 +0000)
committer
Mr. E23
<e23@users.mediawiki.org>
Tue, 25 Nov 2003 17:55:45 +0000
(17:55 +0000)
update.php
patch
|
blob
|
history
diff --git
a/update.php
b/update.php
index
fc95ba1
..
8a8c15c
100644
(file)
--- a/
update.php
+++ b/
update.php
@@
-174,6
+174,10
@@
function do_linkscc_update() {
global $rconn;
if( table_exists( "linkscc" ) ) {
echo "...have linkscc table.\n";
+ echo "Deleting entries from linkscc to avoid potential compatability problems...";
+ $sql = "DELETE FROM linkscc";
+ wfQuery( $sql, DB_WRITE, "Update script: do_linkscc_update()" );
+ echo "ok\n";
} else {
echo "Adding linkscc table... ";
dbsource( "maintenance/archives/patch-linkscc.sql" );