mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 00:24:40 +00:00
src: style sweep
This commit is contained in:
parent
5828ad5f3d
commit
777ff4acfd
@ -64,5 +64,4 @@ class ExportController extends ApiControllerBase
|
||||
{
|
||||
return array();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -29,6 +29,7 @@
|
||||
*/
|
||||
|
||||
namespace OPNsense\OpenVPN;
|
||||
|
||||
use \OPNsense\Base\IndexController as BaseIndexController;
|
||||
|
||||
/**
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user