remove old readme
[atutor.git] / mods / _standard / social / module_backup.php
1 <?php\r
2 /****************************************************************/\r
3 /* ATutor                                                                                                               */\r
4 /****************************************************************/\r
5 /* Copyright (c) 2002-2009                                                                              */\r
6 /* Inclusive Design Institute                                   */\r
7 /* http://atutor.ca                                                                                             */\r
8 /*                                                              */\r
9 /* This program is free software. You can redistribute it and/or*/\r
10 /* modify it under the terms of the GNU General Public License  */\r
11 /* as published by the Free Software Foundation.                                */\r
12 /****************************************************************/\r
13 // $Id$\r
14 \r
15 /* each table to be backed up. includes the sql entry and fields */\r
16 /*
17  * TODO: decide how to back up all the social data
18  *\r
19 $dirs = array();\r
20 $dirs['hello_world/'] = AT_CONTENT_DIR . 'hello_world' . DIRECTORY_SEPARATOR;\r
21 \r
22 $sql = array();\r
23 $sql['hello_world']  = 'SELECT value FROM '.TABLE_PREFIX.'hello_world WHERE course_id=?';\r
24 \r
25 function hello_world_convert($row, $course_id, $table_id_map, $version) {\r
26         $new_row = array();\r
27         $new_row[0]  = $course_id;\r
28         $new_row[1]  = $row[0];\r
29 \r
30         return $new_row;\r
31 }\r
32 */\r
33 ?>