Index: trunk/extensions/EducationProgram/sql/EducationProgram.sql |
— | — | @@ -13,7 +13,6 @@ |
14 | 14 | org_active TINYINT unsigned NOT NULL, -- If the org has any active terms |
15 | 15 | org_courses SMALLINT unsigned NOT NULL, -- Amount of courses |
16 | 16 | org_terms SMALLINT unsigned NOT NULL, -- Amount of terms |
17 | | - org_mentors SMALLINT unsigned NOT NULL, -- Amount of mentors |
18 | 17 | org_students INT unsigned NOT NULL -- Amount of students |
19 | 18 | ) /*$wgDBTableOptions*/; |
20 | 19 | |
Index: trunk/extensions/EducationProgram/includes/EPOrgPager.php |
— | — | @@ -34,7 +34,6 @@ |
35 | 35 | 'country', |
36 | 36 | 'courses', |
37 | 37 | 'terms', |
38 | | - 'mentors', |
39 | 38 | 'students', |
40 | 39 | 'active', |
41 | 40 | ); |
— | — | @@ -72,7 +71,7 @@ |
73 | 72 | $countries = array_flip( efEpGetCountryOptions( $this->getLanguage()->getCode() ) ); |
74 | 73 | $value = htmlspecialchars( $countries[$value] ); |
75 | 74 | break; |
76 | | - case 'courses': case 'mentors': case 'students': case 'terms': |
| 75 | + case 'courses': case 'students': case 'terms': |
77 | 76 | $rawValue = $value; |
78 | 77 | $value = htmlspecialchars( $this->getLanguage()->formatNum( $value ) ); |
79 | 78 | |
— | — | @@ -104,7 +103,6 @@ |
105 | 104 | 'city', |
106 | 105 | 'country', |
107 | 106 | 'courses', |
108 | | - 'mentors', |
109 | 107 | 'students', |
110 | 108 | 'terms', |
111 | 109 | 'active', |
Index: trunk/extensions/EducationProgram/includes/EPTermPager.php |
— | — | @@ -115,7 +115,7 @@ |
116 | 116 | unset( $fields['org_id'] ); |
117 | 117 | } |
118 | 118 | |
119 | | - $fields = wfArrayInsertAfter( $fields, array( '_status' => 'status' ), 'end' ); |
| 119 | + $fields = wfArrayInsertAfter( $fields, array( '_status' => 'status' ), 'students' ); |
120 | 120 | |
121 | 121 | return $fields; |
122 | 122 | } |
Index: trunk/extensions/EducationProgram/includes/EPOrg.php |
— | — | @@ -47,7 +47,6 @@ |
48 | 48 | 'active' => 'bool', |
49 | 49 | 'courses' => 'int', |
50 | 50 | 'terms' => 'int', |
51 | | - 'mentors' => 'int', |
52 | 51 | 'students' => 'int', |
53 | 52 | ); |
54 | 53 | } |
— | — | @@ -65,7 +64,6 @@ |
66 | 65 | 'active' => false, |
67 | 66 | 'courses' => 0, |
68 | 67 | 'terms' => 0, |
69 | | - 'mentors' => 0, |
70 | 68 | 'students' => 0, |
71 | 69 | ); |
72 | 70 | } |