src: style sweep

This commit is contained in:
Franco Fichtner 2018-10-07 14:04:07 +02:00
parent 5828ad5f3d
commit 777ff4acfd
3 changed files with 2 additions and 2 deletions

View File

@ -64,5 +64,4 @@ class ExportController extends ApiControllerBase
{
return array();
}
}

View File

@ -29,6 +29,7 @@
*/
namespace OPNsense\OpenVPN;
use \OPNsense\Base\IndexController as BaseIndexController;
/**

View File

@ -79,7 +79,7 @@ class Config extends Singleton
$last_key = count($all_keys);
// probably a safe bet, first key equals 0, last equals the number of keys minus 1.
if ($all_keys[0] == "0" && $all_keys[$last_key-1] == ($last_key-1)) {
return true;
return true;
}
return false;