Archived
1
0

Fix PHP 5.3.2 parse error in a file, thanks to fyremoon

This commit is contained in:
Garvin Hicking
2010-07-24 22:23:49 +00:00
parent 2fffe38c91
commit 1892eae00f
2 changed files with 6 additions and 4 deletions
+2
View File
@@ -3,6 +3,8 @@
Version 1.6 () Version 1.6 ()
------------------------------------------------------------------------ ------------------------------------------------------------------------
* Fix PHP 5.3.2 parse error in a file, thanks to fyremoon
* Include license output in plugin listing (onli) * Include license output in plugin listing (onli)
* Fix karma rating plugin missing the text translation for a * Fix karma rating plugin missing the text translation for a
+4 -4
View File
@@ -1431,10 +1431,10 @@ function serendipity_deleteEntry($id) {
serendipity_purgeEntry($id, $result[0]); serendipity_purgeEntry($id, $result[0]);
serendipity_plugin_api::hook_event('backend_delete_entry', $id); serendipity_plugin_api::hook_event('backend_delete_entry', $id);
serendipity_db_query("DELETE FROM {$serendipity["dbPrefix"]}entries WHERE id=$id"); serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}entries WHERE id=$id");
serendipity_db_query("DELETE FROM {$serendipity["dbPrefix"]}entrycat WHERE entryid=$id"); serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}entrycat WHERE entryid=$id");
serendipity_db_query("DELETE FROM {$serendipity["dbPrefix"]}entryproperties WHERE entryid=$id"); serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}entryproperties WHERE entryid=$id");
serendipity_db_query("DELETE FROM {$serendipity["dbPrefix"]}comments WHERE entry_id=$id"); serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}comments WHERE entry_id=$id");
serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}references WHERE entry_id='$id' AND type = ''"); serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}references WHERE entry_id='$id' AND type = ''");
serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}permalinks WHERE entry_id='$id'"); serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}permalinks WHERE entry_id='$id'");
} }