X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PlanetLabConf%2Fkeys.php;h=5fca766af0ba3010403af7ed0d1c59592407c5e4;hb=ab2740c0d409aa4c603abaeeaa86265f7ef5b1a3;hp=cfffba05a5b18150916dc10cf6a8abada89d4020;hpb=9f350979dcb5a9b5e1643f81fa93326e23c231a4;p=nodeconfig.git diff --git a/PlanetLabConf/keys.php b/PlanetLabConf/keys.php index cfffba0..5fca766 100755 --- a/PlanetLabConf/keys.php +++ b/PlanetLabConf/keys.php @@ -33,12 +33,17 @@ if (!empty($_REQUEST['role'])) { } } } -if (isset($_REQUEST[PLC_SLICE_PREFIX . '_monitor'])) { - $user = $adm->GetPersons(array('first_name' => 'Site', 'last_name' => 'Assistant')); - if (!empty($user)) { - $persons[] = $user[0]; - } -} + +// +// NOTE: this user is not used by the monitor for the moment. +// +/* // {ple,pl}_monitor user is created on the nodes by the monitor-runlevelagent init script. */ +/* if (isset($_REQUEST[PLC_SLICE_PREFIX . '_monitor'])) { */ +/* $user = $adm->GetPersons(array('first_name' => 'Site', 'last_name' => 'Assistant')); */ +/* if (!empty($user)) { */ +/* $persons[] = $user[0]; */ +/* } */ +/* } */ if (isset($_REQUEST['site_admin']) && isset($_REQUEST['node_id'])) { $nodes = $adm->GetNodes(array(intval($_REQUEST['node_id'])));