[geeklog-hg] geeklog: You now can delete a story submission from the story ed...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Wed Jun 19 20:37:10 EDT 2013


changeset 9103:e0d5123cf29a
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/e0d5123cf29a
user: Tom <websitemaster at cogeco.net>
date: Wed Jun 19 11:54:24 2013 -0400
description:
You now can delete a story submission from the story editor (bug #0001625)

diffstat:

 public_html/admin/story.php |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r 70e6f24c59f5 -r e0d5123cf29a public_html/admin/story.php
--- a/public_html/admin/story.php	Tue Jun 18 18:07:22 2013 -0400
+++ b/public_html/admin/story.php	Wed Jun 19 11:54:24 2013 -0400
@@ -863,7 +863,6 @@
         COM_errorLog ('Attempted to delete story sid=' . $sid);
         echo COM_refresh ($_CONF['site_admin_url'] . '/story.php');
     } else if ($type == 'submission') {
-        $tid = DB_getItem ($_TABLES['storysubmission'], 'tid', "sid = '$sid'");
         if (SEC_hasTopicAccess ($tid) < 3) {
             COM_accessLog ("User {$_USER['username']} tried to illegally delete story submission $sid.");
             echo COM_refresh ($_CONF['site_admin_url'] . '/index.php');



More information about the geeklog-cvs mailing list