[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/ext/phpbb/viglink/migrations/ -> viglink_cron.php (source)

   1  <?php
   2  /**
   3   *
   4   * VigLink extension for the phpBB Forum Software package.
   5   *
   6   * @copyright (c) 2016 phpBB Limited <https://www.phpbb.com>
   7   * @license GNU General Public License, version 2 (GPL-2.0)
   8   *
   9   */
  10  
  11  namespace phpbb\viglink\migrations;
  12  
  13  /**
  14   * Migration to install VigLink cron task data
  15   */
  16  class viglink_cron extends \phpbb\db\migration\migration
  17  {
  18  	public static function depends_on()
  19      {
  20          return array('\phpbb\viglink\migrations\viglink_data');
  21      }
  22  
  23  	public function effectively_installed()
  24      {
  25          return isset($this->config['viglink_last_gc']);
  26      }
  27  
  28  	public function update_data()
  29      {
  30          return array(
  31              array('config.add', array('viglink_last_gc', 0, true)),
  32          );
  33      }
  34  }


Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1