delete_all() ) { echo "Permissions were deleted. Now you can use scripts/add-admin.php to add a new administrator.\n"; } else { $this->to_stderr( "Error in deleting permissions." ); exit( 1 ); } } else { echo "Nothing was deleted.\n"; } } } $gp_script_wipe_permissions = new GP_Script_Wipe_Permissions; $gp_script_wipe_permissions->run();