equal
deleted
inserted
replaced
273 if ( !$return['success'] ) |
273 if ( !$return['success'] ) |
274 break 2; |
274 break 2; |
275 if ( $row['config_value'] == '0' ) |
275 if ( $row['config_value'] == '0' ) |
276 { |
276 { |
277 $fn_db = $db->escape($plugin_filename); |
277 $fn_db = $db->escape($plugin_filename); |
278 $q = $db->sql_query('UPDATE ' . table_prefix . "plugins SET plugin_flags = plugin_flags | " . PLUGIN_DISABLED . " WHERE plugin_filename = '$fn_db';"); |
278 $e = $db->sql_query('UPDATE ' . table_prefix . "plugins SET plugin_flags = plugin_flags | " . PLUGIN_DISABLED . " WHERE plugin_filename = '$fn_db';"); |
279 if ( !$q ) |
279 if ( !$e ) |
280 $db->die_json(); |
280 $db->die_json(); |
281 } |
281 } |
282 } |
282 } |
283 } |
283 } |
284 $db->free_result($q); |
284 $db->free_result($q); |