~armagetronad-ap/armagetronad/BattleMania

« back to all changes in this revision

Viewing changes to src/tools/setting.php

  • Committer: zodiacsohma1 at gmail
  • Date: 2014-03-02 08:09:55 UTC
  • Revision ID: zodiacsohma1@gmail.com-20140302080955-r5ot6eipfe0nlpww
Simplified all fields and code in all areas for better as they seem to repeat themselves.

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
{
102
102
    foreach (configBase::$commands as $cmd)
103
103
    {
104
 
        if (isset($cmd) && !is_null($cmd) && $cmd instanceof Setting && (Filter($cmd->name) == Filter($name)))
 
104
        if (isset($cmd) && $cmd instanceof Setting && (Filter($cmd->name) == Filter($name)))
105
105
            return $cmd;
106
106
    }
107
107