+++ /dev/null
-<?php\r
-/*==============================================================\r
- Photo Album\r
- ==============================================================\r
- Copyright (c) 2006 by Dylan Cheon & Kelvin Wong\r
- Institute for Assistive Technology / University of Victoria\r
- http://www.canassist.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
- */\r
-// $Id:\r
-\r
-/**\r
- * @desc This file deletes all the course images/comments in the photo album when a course is deleted\r
- * @author Dylan Cheon & Kelvin Wong\r
- * @copyright 2006, Institute for Assistive Technology / University of Victoria \r
- * @link http://www.canassist.ca/ \r
- * @license GNU\r
- */\r
- \r
-require_once ('define.php');\r
-require_once ('include/data_func.php');\r
-require_once ('include/general_func.php');\r
-\r
-function photo_album_delete($course){\r
- $images=get_all_images($course);\r
- while ($row=mysql_fetch_array($images)){\r
- delete_image($row['image_id'], $row['course_id']);\r
- }\r
-}\r
-\r
-?>
\ No newline at end of file