removed mods directory from the ATutor codebase
[atutor.git] / mods / patcher / patch_edit.php
diff --git a/mods/patcher/patch_edit.php b/mods/patcher/patch_edit.php
deleted file mode 100644 (file)
index eea59c3..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php\r
-/************************************************************************/\r
-/* ATutor                                                                                                                              */\r
-/************************************************************************/\r
-/* Copyright (c) 2002-2008 by Greg Gay, Joel Kronenberg & Heidi Hazelton*/\r
-/* Adaptive Technology Resource Centre / University of Toronto                 */\r
-/* http://atutor.ca                                                                                                            */\r
-/*                                                                                                                                             */\r
-/* This program is free software. You can redistribute it and/or               */\r
-/* modify it under the terms of the GNU General Public License                 */\r
-/* as published by the Free Software Foundation.                                               */\r
-/************************************************************************/\r
-// $Id: index_admin.php 7208 2008-03-13 16:07:24Z cindy $\r
-\r
-define('AT_INCLUDE_PATH', '../../include/');\r
-require (AT_INCLUDE_PATH.'vitals.inc.php');\r
-admin_authenticate(AT_ADMIN_PRIV_PATCHER);\r
\r
-if (!isset($_REQUEST["myown_patch_id"]))\r
-{\r
-       $msg->addError('NO_ITEM_SELECTED');\r
-       exit;\r
-}\r
-\r
-$myown_patch_id = $_REQUEST["myown_patch_id"];\r
-\r
-// URL called by form action\r
-$url = dirname($_SERVER['PHP_SELF']) . "/patch_creator.php?myown_patch_id=" . $myown_patch_id;\r
-\r
-$sql_patches = "SELECT * from ".TABLE_PREFIX."myown_patches m where myown_patch_id=". $myown_patch_id;\r
-$result_patches = mysql_query($sql_patches, $db) or die(mysql_error());\r
-$row_patches = mysql_fetch_assoc($result_patches);\r
-\r
-$sql_patch_dependent = "SELECT * from ".TABLE_PREFIX."myown_patches_dependent m where myown_patch_id=". $myown_patch_id;\r
-$result_patch_dependent = mysql_query($sql_patch_dependent, $db) or die(mysql_error());\r
-\r
-$sql_patch_files = "SELECT * from ".TABLE_PREFIX."myown_patches_files m where myown_patch_id=". $myown_patch_id . " order by myown_patches_files_id";\r
-$result_patch_files = mysql_query($sql_patch_files, $db) or die(mysql_error());\r
-\r
-require ('patch_edit_interface.tmpl.php');\r
-\r
-?>\r