MDL-61308 mod_assign: Whitespace fix
authorAndrew Nicols <andrew@nicols.co.uk>
Mon, 30 Apr 2018 01:27:12 +0000 (09:27 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 30 Apr 2018 01:27:12 +0000 (09:27 +0800)
mod/assign/classes/privacy/provider.php
mod/assign/tests/privacy_submission_legacy_polyfill_test.php

index ccb895d..bbe0713 100644 (file)
@@ -252,7 +252,7 @@ class provider implements metadataprovider, pluginprovider, preference_provider
 
         foreach ($contextlist as $context) {
             if ($context->contextlevel != CONTEXT_MODULE) {
-                continue;    
+                continue;
             }
             // Get the assign object.
             $assign = new \assign($context, null, null);
index 9140139..41ab5e7 100644 (file)
@@ -53,7 +53,6 @@ class mod_assignsubmission_privacy_legacy_polyfill_test extends advanced_testcas
      * Test the get_context_for_userid_within_submission shim.
      */
     public function test_get_context_for_userid_within_submission() {
-        
         $userid = 21;
         $contextlist = new \core_privacy\local\request\contextlist();
         $mock = $this->createMock(test_assignsubmission_legacy_polyfill_mock_wrapper::class);