Ignore:
Timestamp:
Apr 14, 2015, 10:20:16 PM (10 years ago)
Author:
chronos
Message:
  • Removed: Spaces on end of line.
  • Modified: Tabs converted to spaces.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkShare/update.php

    r548 r738  
    11<?php
    22
    3 //$Perioda = 3600*3;    // prochazet po tech hodinach
     3//$Perioda = 3600*3;  // prochazet po tech hodinach
    44
    55$Dnes = date('Y-m-d');
     
    1212  {
    1313    //echo('Host: '.$Host."...\n");
    14    
     14
    1515    //echo(.','.$Row['date']."\n");
    1616    $HostID = 100;
    1717    $StartTime2 = GetMicrotime();
    18     if($Dnes != $Row['last_share_check']) 
     18    if($Dnes != $Row['last_share_check'])
    1919    {
    2020      echo("Kontroluji ".$Row['Name']."...\n");
     
    2222    }
    2323    else echo("Vynechavam ".$Row['Name']."...\n");
    24     // Aktualizuj datum prochazeni   
     24    // Aktualizuj datum prochazeni
    2525    $Database->update('Hosts', "name='".$Row['name']."'",array('last_share_check' => $Dnes));
    2626  }
    2727  $Rozdil = GetMicrotime()-$StartTime+10;
    28  
     28
    2929  // Oprav a zoptimalizuj tabulku
    3030  //$Database->select_db('share');
     
    3333  echo("\nOptimalizuji tabulku...");
    3434  $Database->query('OPTIMIZE TABLE NetworkShareItem');
    35  
     35
    3636  echo("\nDoba procháení ".date("H:i:s",$Rozdil-3600)."\n\n");
    3737  //$Cekat = $Perioda-$Rozdil;
Note: See TracChangeset for help on using the changeset viewer.