Ignore:
Timestamp:
May 2, 2016, 12:09:23 PM (3 years ago)
Author:
jrpelegrina
Message:

Updated to moodle 3.0.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • moodle/trunk/fuentes/cache/stores/memcached/lib.php

    r136 r1331  
    697697        return $warnings;
    698698    }
     699
     700    /**
     701     * Returns true if this cache store instance is both suitable for testing, and ready for testing.
     702     *
     703     * Cache stores that support being used as the default store for unit and acceptance testing should
     704     * override this function and return true if there requirements have been met.
     705     *
     706     * @return bool
     707     */
     708    public static function ready_to_be_used_for_testing() {
     709        return defined('TEST_CACHESTORE_MEMCACHED_TESTSERVERS');
     710    }
    699711}
Note: See TracChangeset for help on using the changeset viewer.