Fix testing attachments plugins after recent change that prevents from using more than one
| | |
| | | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| | | */ |
| | | |
| | | if (class_exists('filesystem_attachments', false)) { |
| | | if (class_exists('filesystem_attachments', false) && !defined('TESTS_DIR')) { |
| | | die("Configuration issue. There can be only one enabled plugin for attachments handling"); |
| | | } |
| | | |
| | |
| | | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| | | */ |
| | | |
| | | if (class_exists('filesystem_attachments', false)) { |
| | | if (class_exists('filesystem_attachments', false) && !defined('TESTS_DIR')) { |
| | | die("Configuration issue. There can be only one enabled plugin for attachments handling"); |
| | | } |
| | | |