summaryrefslogtreecommitdiff
path: root/server/core/Automating.php
diff options
context:
space:
mode:
Diffstat (limited to 'server/core/Automating.php')
-rw-r--r--server/core/Automating.php15
1 files changed, 10 insertions, 5 deletions
diff --git a/server/core/Automating.php b/server/core/Automating.php
index 2665541..065cf5e 100644
--- a/server/core/Automating.php
+++ b/server/core/Automating.php
@@ -1,11 +1,11 @@
<?php
/**
-* File containing the Image Class.
+* File containing the Automating Class.
*
* @version 1.0 Initialisation of this file
* @since 1.0 Core application's file
*
-* @author Yogg 'yogg at epsina . com'
+* @author Evan Pisani 'yogg at epsina . com'
*
* @todo Complete the functions with errors detection and finish the descriptions
*/
@@ -48,7 +48,13 @@ class automating implements Core{
$this->{$action.""}();
}
-
+ /**
+ * Create a new image on a new server
+ *
+ * @param $error the error triggered
+ *
+ * @return Image the new image created
+ */
private function createImageOnNewServer(){
try{
$image = new Image($this->app);
@@ -87,9 +93,8 @@ class automating implements Core{
}catch(Exception $e){
$this->app->getErrorInstance()->OtherException($e);
}
+ $this->app->setOutput("Auto", $res);
}
-
-
}
?> \ No newline at end of file