equal
deleted
inserted
replaced
149 'mode' => 'error', |
149 'mode' => 'error', |
150 'error' => 'No plugin specified.', |
150 'error' => 'No plugin specified.', |
151 ); |
151 ); |
152 break; |
152 break; |
153 } |
153 } |
|
154 if ( !isset($request['install_confirmed']) ) |
|
155 { |
|
156 if ( $plugins->is_file_auth_plugin($request['plugin']) ) |
|
157 { |
|
158 $return = array( |
|
159 'confirm_title' => 'acppl_msg_confirm_authext_title', |
|
160 'confirm_body' => 'acppl_msg_confirm_authext_body', |
|
161 'need_confirm' => true, |
|
162 'success' => false |
|
163 ); |
|
164 break; |
|
165 } |
|
166 } |
154 |
167 |
155 $return = $plugins->install_plugin($request['plugin'], $plugin_list); |
168 $return = $plugins->install_plugin($request['plugin'], $plugin_list); |
156 break; |
169 break; |
157 case 'upgrade': |
170 case 'upgrade': |
158 // did they specify a plugin to operate on? |
171 // did they specify a plugin to operate on? |