Changeset 354
- Timestamp:
- Mar 3, 2010, 2:02:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin.php
r353 r354 55 55 echo('Smazáno '.$DbRow[0].' položek logu ze všech '.$DbRow2[0].'<br/>'); 56 56 57 // Delete invalid ExportUser 58 $DbResult = $Database->SQLCommand('SELECT COUNT(*) FROM `ExportUser`'); 59 $DbRow2 = mysql_fetch_row($DbResult); 60 $DbResult = $Database->SQLCommand('SELECT COUNT(*) FROM `ExportUser` WHERE (NOT EXISTS (SELECT `Id` FROM `user` WHERE `user`.`ID` = `ExportUser`.`User`))'); 61 $DbRow = mysql_fetch_row($DbResult); 62 $Database->SQLCommand('DELETE FROM `ExportUser` WHERE (NOT EXISTS (SELECT `Id` FROM `user` WHERE `user`.`ID` = `ExportUser`.`User`))'); 63 echo('Smazáno '.$DbRow[0].' položek výběru překladatelů u exportů ze všech '.$DbRow2[0].'<br/>'); 64 57 65 // Delete all teams without users 58 66 $DbResult = $Database->SQLCommand('SELECT COUNT(*) FROM `Team`');
Note:
See TracChangeset
for help on using the changeset viewer.