@@ 169-174 (lines=6) @@ | ||
166 | $this->doDefault($msg); |
|
167 | } else { |
|
168 | $status = $data->reindex(strtoupper($type), $_REQUEST['object'], isset($_REQUEST['reindex_force'])); |
|
169 | if ($status == 0) { |
|
170 | $misc->setReloadBrowser(true); |
|
171 | $this->doAdmin($type, $lang['strreindexgood']); |
|
172 | } else { |
|
173 | $this->doAdmin($type, $lang['strreindexbad']); |
|
174 | } |
|
175 | } |
|
176 | } |
|
177 | } |
|
@@ 249-254 (lines=6) @@ | ||
246 | } else { |
|
247 | //we must pass table here. When empty, analyze the whole db |
|
248 | $status = $data->analyzeDB($_REQUEST['table']); |
|
249 | if ($status == 0) { |
|
250 | $misc->setReloadBrowser(true); |
|
251 | $this->doAdmin($type, $lang['stranalyzegood']); |
|
252 | } else { |
|
253 | $this->doAdmin($type, $lang['stranalyzebad']); |
|
254 | } |
|
255 | } |
|
256 | } |
|
257 | } |
|
@@ 329-334 (lines=6) @@ | ||
326 | } else { |
|
327 | //we must pass table here. When empty, vacuum the whole db |
|
328 | $status = $data->vacuumDB($_REQUEST['table'], isset($_REQUEST['vacuum_analyze']), isset($_REQUEST['vacuum_full']), isset($_REQUEST['vacuum_freeze'])); |
|
329 | if ($status == 0) { |
|
330 | $misc->setReloadBrowser(true); |
|
331 | $this->doAdmin($type, $lang['strvacuumgood']); |
|
332 | } else { |
|
333 | $this->doAdmin($type, $lang['strvacuumbad']); |
|
334 | } |
|
335 | } |
|
336 | } |
|
337 | } |