restenv: remove unnecessary if
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 25 Jul 2017 13:32:20 +0000 (15:32 +0200)
committerFabian Gr├╝nbichler <f.gruenbichler@proxmox.com>
Fri, 18 Aug 2017 08:21:50 +0000 (10:21 +0200)
commitad7962b47e397965861c8784a1f6c55a57adbf68
tree88dce9dfa249fb5b42dd54f5b00f9ba37fec98f8
parentb1dc435ef602858e7f9b403a3fa7f752c8daf420
restenv: remove unnecessary if

we return early from this function if the $rest_env singleton doesn't
evaluates to true yet, so this check is useless here.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/RESTEnvironment.pm