00001 // 00002 // LogoutViewController.m 00003 // WIRemoting 00004 // 00005 // Created by Felix Huang on 09-12-08. 00006 // Copyright 2009 Webinit Consulting. All rights reserved. 00007 // 00008 00009 #import "LogoutViewController.h" 00010 #import "Moodle.h" 00011 00012 @implementation LogoutViewController 00013 00014 - (void) execute 00015 { 00016 [moodle logout]; 00017 // add message to the view 00018 [views addObject:[NSDictionary dictionaryWithObjectsAndKeys: 00019 @"Logged Out", @"title", 00020 @"You are successfully logged out.", @"description", 00021 nil]]; 00022 } 00023 @end 00024