From 4b4db49c7c48a7414d4efd5ea3b8502a7796cbe2 Mon Sep 17 00:00:00 2001
From: hitchhike2mars <manubhadoria24@gmail.com>
Date: Fri, 25 Mar 2016 02:04:28 +0530
Subject: [PATCH] MDL-53440 course: Button  "Save and See Pending Courses"

Added an additional button "Save and See Pending Courses" on course/edit.php.
Only available when a user visitis to course/edit.php from course/pending.php and not otherwise.
---
 course/edit.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/course/edit.php b/course/edit.php
index d79c0d6..b0e7916 100644
--- a/course/edit.php
+++ b/course/edit.php
@@ -55,6 +55,9 @@
             case 'topcat':
                 $returnurl = new moodle_url($CFG->wwwroot . '/course/');
                 break;
+            case 'pending':
+                $returnurl = new moodle_url($CFG->wwwroot . '/course/pending.php');
+                break;    
         }
     }
 }
