Module.php #1

  • //
  • guest/
  • perforce_software/
  • chronicle/
  • main/
  • tests/
  • phpunit/
  • assets/
  • optional-modules/
  • unenablable/
  • Module.php
  • View
  • Commits
  • Open Download .zip Download (515 B)
<?php
/**
 * Integrates module with system.
 *
 * @copyright   2011 Perforce Software. All rights reserved.
 * @license     Please see LICENSE.txt in top-level folder of this distribution.
 * @version     <release>/<patch>
 */
class Unenablable_Module extends P4Cms_Module_Integration
{
    /**
     * Extend parent to force failure.
     *
     * @throws Exception    Always throws; for testing.
     */
    public static function enable()
    {
        throw new Exception('Enable was called, throwing');
    }
}
# Change User Description Committed
#1 16170 perforce_software Move Chronicle files to follow new path scheme for branching.
//guest/perforce_software/chronicle/tests/phpunit/assets/optional-modules/unenablable/Module.php
#1 8972 Matt Attaway Initial add of the Chronicle source code