Completed
Push — master ( 189151...5aefc8 )
by Roberto
18:39 queued 17:09
created
locallib.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     $PAGE->navbar->add($navtitle, new moodle_url('/local/relationship/index.php', array('contextid'=>$context->id)));
46 46
     if($module) {
47 47
         $PAGE->navbar->add(get_string($module, 'local_relationship'),
48
-                           new moodle_url("/local/relationship/{$module}.php", array('relationshipid'=>$relationship->id)));
48
+                            new moodle_url("/local/relationship/{$module}.php", array('relationshipid'=>$relationship->id)));
49 49
     }
50 50
 }
51 51
 
Please login to merge, or discard this patch.
edit.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     $res = relationship_delete_relationship($relationship);
56 56
     if($res === -1) {
57 57
         print_string('has_cohorts', 'local_relationship');
58
-   }
58
+    }
59 59
     redirect($returnurl);
60 60
 }
61 61
 
Please login to merge, or discard this patch.
lib.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -284,7 +284,7 @@
 block discarded – undo
284 284
  * Update existing relationship
285 285
  *
286 286
  * @param sstdClass $relationship
287
- * @return void
287
+ * @return boolean
288 288
  */
289 289
 function relationship_update_relationship($relationship) {
290 290
     global $DB;
Please login to merge, or discard this patch.