+ if (!loadExtension($content['ext_name'], 'test')) {
+ // Is the name valid?
+ if (!isExtensionNameValid($content['ext_name'])) {
+ // Is not valid name (empty ext-foo.php script)
+ SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_extensions` WHERE `ext_name`='%s' LIMIT 1",
+ array($content['ext_name']), __FILE__, __LINE__);
+ } else {
+ // Didn't load so deactivate it
+ doDeactivateExtension($content['ext_name'], TRUE);
+ }
+
+ // ... and skip it
+ continue;
+ } // END - if