Skip to content

Commit 0831422

Browse files
committed
removing test code
1 parent f033f17 commit 0831422

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

gwiki/admin/prefixes.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -202,13 +202,7 @@ function getPrefix($pid) {
202202
// $sql .= ' WHERE prefix_id = "'.$pid.'" ';
203203
$sql .= " WHERE prefix_id = '{$pid}' ";
204204

205-
$sql0 = 'SELECT * FROM '.$xoopsDB->prefix('gwiki_prefix');
206-
$sql0 .= ' LEFT JOIN '.$xoopsDB->prefix('gwiki_template').' on prefix_template_id = template_id ';
207-
$sql0 .= " WHERE prefix_id = '{$pid}' ";
208-
209-
210205
$result = $xoopsDB->query($sql);
211-
$result0 = $xoopsDB->query($sql0);
212206

213207
$rows=$xoopsDB->getRowsNum($result);
214208
if ($rows) {

0 commit comments

Comments
 (0)