1. PHP / Говнокод #13101

    +156

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    // delete all directories, not used by database(middleware)
    	deleteToucanNpvrNotUsedDirectories($objDB, $ftp);
    	
    	// delete npvr records, not exist in bd, but exist on toucan
    	deleteToucanRecordsNotUsedButExistOnToucan($objDB);
    	
    	// delete npvr records on toucan db, but not found directory on toucan file system.
    	///deleteToucanRecordsExistButNotRecorded($objDB,$ftp);
    	
    	// delete npvr records not recorded founded in db, but not found on toucan db.
    	///deleteDbRecordsExistButNotRecordedAndNotFoundedOnToucan($objDB);	
    	
    	ftpToucanNpvrDisconnect($ftp);

    deleteDbRecordsExistButNotRecordedAndNot FoundedOnToucanAndIWantToKillAnybodyAfte rReadingThis

    Запостил: stsaranchin, 04 Июня 2013

    Комментарии (11) RSS

    Добавить комментарий