X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=planetlab%2Fcommon%2Factions.php;fp=planetlab%2Fcommon%2Factions.php;h=dd6a661b1ba0e08281e64eabf2c926b23f3c3830;hb=9b8b74f6feeb99e0222717f0e1ed2f6e51f7b55b;hp=7f751b0cba7390fd5cbd34cae8c3d6d450d35531;hpb=b89cea9e2eb4db6f01d484e035471142f916f454;p=plewww.git diff --git a/planetlab/common/actions.php b/planetlab/common/actions.php index 7f751b0..dd6a661 100644 --- a/planetlab/common/actions.php +++ b/planetlab/common/actions.php @@ -5,7 +5,8 @@ require_once 'plc_login.php'; // Get session and API handles require_once 'plc_session.php'; -global $plc, $api; +require_once 'plc_api.php'; +global $plc, $api, $adm; //print header require_once 'plc_drupal.php'; @@ -636,7 +637,7 @@ Our support team will be glad to answer any question that you might have. } } if ($success) { - $api->NotifyPersons($notify_person_ids,$notify_subject,$notify_body); + $adm->NotifyPersons($notify_person_ids,$notify_subject,$notify_body); drupal_set_message ("Deleted $counter person(s)"); } else @@ -676,7 +677,7 @@ Our support team will be glad to answer any question that you might have. } } if ($success) { - $api->NotifyPersons($notify_person_ids,$notify_subject,$notify_body); + $adm->NotifyPersons($notify_person_ids,$notify_subject,$notify_body); drupal_set_message ("Added $counter person(s)"); } else