Revision 879
Added by aldus about 16 years ago
trunk/wb/admin/modules/uninstall.php | ||
---|---|---|
53 | 53 |
/** |
54 | 54 |
* Check if the module is in use |
55 | 55 |
* |
56 |
* @version 0.1.0
|
|
57 |
* @build 1
|
|
58 |
* @date 2008-10-23
|
|
56 |
* @version 0.1.1
|
|
57 |
* @build 2
|
|
58 |
* @date 2008-11-12
|
|
59 | 59 |
* @author aldus |
60 | 60 |
* @package Websitebaker - Admin - modules |
61 | 61 |
* @state @dev |
... | ... | |
91 | 91 |
|
92 | 92 |
$page_names = ""; |
93 | 93 |
|
94 |
while ($data = $info->fetchRow(DB_FETCHMODE_ASSOC) ) {
|
|
94 |
while ($data = $info->fetchRow() ) { |
|
95 | 95 |
|
96 | 96 |
$temp = $database->query("SELECT page_title from ".TABLE_PREFIX."pages where page_id=".$data['page_id']); |
97 |
$temp_title = $temp->fetchRow( DB_FETCHMODE_ASSOC );
|
|
97 |
$temp_title = $temp->fetchRow(); |
|
98 | 98 |
|
99 | 99 |
$page_info = array( |
100 | 100 |
'id' => $data['page_id'], |
Also available in: Unified diff
Remove undefined and unused constants (DB_FETCHMODE_ASSOC)