summaryrefslogtreecommitdiff
path: root/app/Console/Commands/SetWatchingCalender.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Console/Commands/SetWatchingCalender.php')
-rw-r--r--app/Console/Commands/SetWatchingCalender.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/Console/Commands/SetWatchingCalender.php b/app/Console/Commands/SetWatchingCalender.php
index 9e4bfa7..160866b 100644
--- a/app/Console/Commands/SetWatchingCalender.php
+++ b/app/Console/Commands/SetWatchingCalender.php
@@ -28,6 +28,8 @@ class SetWatchingCalender extends Command
*/
public function handle()
{
+ ob_start();
+
$helper = new Helper();
#$helper->createUser( 'll-' );
echo "setIsWatchingForAll(): \n";
@@ -35,6 +37,10 @@ class SetWatchingCalender extends Command
echo "\nsetCalendarForAll(): \n";
$helper->setCalendarForAll();
+ $msg = ob_get_contents();
+ ob_end_clean();
+ $this->info( $msg );
+
return Command::SUCCESS;
}