Aleksander Machniak
2015-10-22 37e9bd4fb89d17b28a13d568e3fbf1a56d1ee6d6
Fix testing attachments plugins after recent change that prevents from using more than one
2 files modified
4 ■■■■ changed files
plugins/database_attachments/database_attachments.php 2 ●●● patch | view | raw | blame | history
plugins/redundant_attachments/redundant_attachments.php 2 ●●● patch | view | raw | blame | history
plugins/database_attachments/database_attachments.php
@@ -28,7 +28,7 @@
 * 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");
}
plugins/redundant_attachments/redundant_attachments.php
@@ -32,7 +32,7 @@
 * 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");
}