Index: branches/ApiEdit_Vodafone/includes/EditPage.php |
— | — | @@ -28,8 +28,7 @@ |
29 | 29 | const AS_NO_CREATE_PERMISSION = 223; |
30 | 30 | const AS_BLANK_ARTICLE = 224; |
31 | 31 | const AS_CONFLICT_DETECTED = 225; |
32 | | - const AS_SUMMARY_NEEDED_A = 226; |
33 | | - const AS_SUMMARY_NEEDED_B = 227; |
| 32 | + const AS_SUMMARY_NEEDED = 226; |
34 | 33 | const AS_TEXTBOX_EMPTY = 228; |
35 | 34 | const AS_MAX_ARTICLE_SIZE_EXCEDED = 229; |
36 | 35 | const AS_OK = 230; |
— | — | @@ -858,7 +857,7 @@ |
859 | 858 | if( md5( $this->summary ) == $this->autoSumm ) { |
860 | 859 | $this->missingSummary = true; |
861 | 860 | wfProfileOut( $fname ); |
862 | | - return self::AS_SUMMARY_NEEDED_A; |
| 861 | + return self::AS_SUMMARY_NEEDED; |
863 | 862 | // return( true ); |
864 | 863 | } |
865 | 864 | } |
— | — | @@ -868,7 +867,7 @@ |
869 | 868 | if (trim($this->summary) == '') { |
870 | 869 | $this->missingSummary = true; |
871 | 870 | wfProfileOut( $fname ); |
872 | | - return self::AS_SUMMARY_NEEDED_B; |
| 871 | + return self::AS_SUMMARY_NEEDED; |
873 | 872 | // return( true ); |
874 | 873 | } |
875 | 874 | } |
— | — | @@ -2143,12 +2142,9 @@ |
2144 | 2143 | case self::AS_TEXTBOX_EMPTY: |
2145 | 2144 | return true; |
2146 | 2145 | |
2147 | | - case self::AS_SUMMARY_NEEDED_B: |
| 2146 | + case self::AS_SUMMARY_NEEDED: |
2148 | 2147 | return true; |
2149 | 2148 | |
2150 | | - case self::AS_SUMMARY_NEEDED_A: |
2151 | | - return true; |
2152 | | - |
2153 | 2149 | case self::AS_CONFLICT_DETECTED: |
2154 | 2150 | return true; |
2155 | 2151 | |