Changeset 353 for trunk/admin.php


Ignore:
Timestamp:
Mar 3, 2010, 1:42:04 PM (15 years ago)
Author:
george
Message:
  • Opraveno: U exportů v tabulce výpisu překladatelů také používat přímo sloupec počtu překladů TranslatedCount.
  • Opraveno: Nemazat překladatele, kteří mají vytvořen nějaký export.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin.php

    r350 r353  
    3737    ' AND (`ID` != 128)'. // Skip user Neznámý
    3838    ' AND (`LastLogin` < DATE_SUB(NOW(), INTERVAL 3 MONTH))'. // Time limit
    39     ' AND (NOT EXISTS (SELECT `ID` FROM `dictionary` WHERE `user`.`ID` = `dictionary`.`user`))'. // dictionary
    40     ' AND (NOT EXISTS (SELECT `Id` FROM `news` WHERE `user`.`ID` = `news`.`user`))'. // news
    41     ' AND (NOT EXISTS (SELECT `ID` FROM `shoutbox` WHERE `user`.`user` = `shoutbox`.`user`))'. // shoutbox
     39    ' AND (NOT EXISTS (SELECT `Id` FROM `Export` WHERE `user`.`ID` = `Export`.`User`))'. // Without exports
     40    ' AND (NOT EXISTS (SELECT `ID` FROM `dictionary` WHERE `user`.`ID` = `dictionary`.`user`))'. // Without dictionary words
     41    ' AND (NOT EXISTS (SELECT `Id` FROM `news` WHERE `user`.`ID` = `news`.`user`))'. // Without news
     42    ' AND (NOT EXISTS (SELECT `ID` FROM `shoutbox` WHERE `user`.`user` = `shoutbox`.`user`))'. // Without shoutbox messages
    4243    '';
    4344  $DbResult = $Database->SQLCommand('SELECT COUNT(*) FROM `user`'.$Condition);
Note: See TracChangeset for help on using the changeset viewer.