Permalink
Browse files

MDL-27552 whitespace fixes

  • Loading branch information...
1 parent 0e36d0c commit 9b9d7a603944ed480fe01c9f3edf466256ec0f51 @stronk7 stronk7 committed Jun 14, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 login/token.php
View
@@ -26,7 +26,7 @@
require_once(dirname(dirname(__FILE__)) . '/config.php');
-$username = required_param('username', PARAM_USERNAME);
+$username = required_param('username', PARAM_USERNAME);
$password = required_param('password', PARAM_RAW);
$service = required_param('service', PARAM_ALPHANUMEXT);
@@ -95,7 +95,7 @@
// create token if not exists
if (!$token) {
// This is an exception for Moodle Mobiel App
- // if user doesn't have token, we will create one on the fly
+ // if user doesn't have token, we will create one on the fly
// even user doesn't have createtoken permission
if ($service == MOODLE_OFFICIAL_MOBILE_SERVICE) {
if (has_capability('moodle/webservice:createmobiletoken', get_system_context())) {
@@ -133,4 +133,4 @@
echo json_encode($usertoken);
} else {
throw new moodle_exception('usernamenotfound', 'moodle');
-}
+}

0 comments on commit 9b9d7a6

Please sign in to comment.