[ Index ] |
PHP Cross Reference of phpBB-3.3.12-deutsch |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * 4 * VigLink extension for the phpBB Forum Software package. 5 * 6 * @copyright (c) 2014 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 ask admin about viglink 15 */ 16 class viglink_ask_admin extends \phpbb\db\migration\migration 17 { 18 public static function depends_on() 19 { 20 return array('\phpbb\viglink\migrations\viglink_data_v2'); 21 } 22 23 public function effectively_installed() 24 { 25 return isset($this->config['viglink_ask_admin']); 26 } 27 28 public function update_data() 29 { 30 return array( 31 array('if', array( 32 (!$this->config->offsetExists('viglink_ask_admin')), 33 array('config.add', array('viglink_ask_admin', '')), 34 )), 35 ); 36 } 37 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Jun 23 12:25:44 2024 | Cross-referenced by PHPXref 0.7.1 |