Ignore:
Timestamp:
Apr 6, 2020, 11:56:19 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Do not use parenthesis around returned value.
File:
1 edited

Legend:

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

    r873 r874  
    2222  function ShowTime()
    2323  {
    24     return (date("H:i:s")."<br />\n");
     24    return date("H:i:s")."<br />\n";
    2525  }
    2626
     
    5151    }
    5252    if ($i >= $this->MaxNesting) $Cesta = '?'.'\\'.$Cesta;
    53     return ('\\\\'.$Cesta);
     53    return '\\\\'.$Cesta;
    5454  }
    5555
     
    6363      array_shift($Jednotky);
    6464    }
    65     return ($Velikost.'&nbsp;'.$Jednotky[0]);
     65    return $Velikost.'&nbsp;'.$Jednotky[0];
    6666  }
    6767
    6868  function Show()
    6969  {
    70     if (!$this->System->User->CheckPermission('NetworkShare', 'Display')) return ('Nemáte oprávnění');
     70    if (!$this->System->User->CheckPermission('NetworkShare', 'Display')) return 'Nemáte oprávnění';
    7171
    7272    // If not only online checkbox checked
     
    318318      }
    319319    }
    320     return ($Output);
     320    return $Output;
    321321  }
    322322}
Note: See TracChangeset for help on using the changeset viewer.