From a204303e5099dcb88e5e4760a09e7de9a96c4ea3 Mon Sep 17 00:00:00 2001 From: Florian Schaal <florian@schaal-24.de> Date: Fri, 17 Oct 2014 08:05:51 -0400 Subject: [PATCH] moved "function send_notification_email" from 300-quota_notify.inc.php to monitor_tools.inc.php --- remoting_client/examples/sites_shell_user_delete.php | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/remoting_client/examples/sites_shell_user_delete.php b/remoting_client/examples/sites_shell_user_delete.php index b15e3dc..fbc86ae 100644 --- a/remoting_client/examples/sites_shell_user_delete.php +++ b/remoting_client/examples/sites_shell_user_delete.php @@ -1,16 +1,16 @@ <?php -require('soap_config.php'); +require 'soap_config.php'; $client = new SoapClient(null, array('location' => $soap_location, - 'uri' => $soap_uri, - 'trace' => 1, - 'exceptions' => 1)); + 'uri' => $soap_uri, + 'trace' => 1, + 'exceptions' => 1)); try { - if($session_id = $client->login($username,$password)) { + if($session_id = $client->login($username, $password)) { echo 'Logged successfull. Session ID:'.$session_id.'<br />'; } @@ -22,12 +22,12 @@ $affected_rows = $client->sites_shell_user_delete($session_id, $shell_user_id); echo "Number of records that have been deleted: ".$affected_rows."<br>"; - + if($client->logout($session_id)) { echo 'Logged out.<br />'; } - - + + } catch (SoapFault $e) { echo $client->__getLastResponse(); die('SOAP Error: '.$e->getMessage()); -- Gitblit v1.9.1