X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PlanetLabConf%2Fkeys.php;h=c46c30769822697ee53391187cf0664e5f1a60e2;hb=6552abf59a332977e10520772dab68fe31f0c95c;hp=ed4cfd2e5cd23b06e804d84e339a50ea12c1bea1;hpb=9e13539872973169d8a9e1e17ea9355002eb93d3;p=nodeconfig.git diff --git a/PlanetLabConf/keys.php b/PlanetLabConf/keys.php index ed4cfd2..c46c307 100755 --- a/PlanetLabConf/keys.php +++ b/PlanetLabConf/keys.php @@ -13,8 +13,6 @@ // Aaron Klingaman // Copyright (C) 2004 The Trustees of Princeton University // -// $Id$ -// // Get admin API handle require_once 'plc_api.php'; @@ -34,13 +32,16 @@ if (!empty($_REQUEST['role'])) { } } -// {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]; - } -} +// +// 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'])));