[ Index ] |
PHP Cross Reference of phpBB-3.1.12-deutsch |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * 4 * This file is part of the phpBB Forum Software package. 5 * 6 * @copyright (c) phpBB Limited <https://www.phpbb.com> 7 * @license GNU General Public License, version 2 (GPL-2.0) 8 * 9 * For full copyright and license information, please see 10 * the docs/CREDITS.txt file. 11 * 12 */ 13 14 namespace phpbb\db\migration\data\v31x; 15 16 class profilefield_yahoo_update_url extends \phpbb\db\migration\migration 17 { 18 static public function depends_on() 19 { 20 return array('\phpbb\db\migration\data\v31x\v312'); 21 } 22 23 public function update_data() 24 { 25 return array( 26 array('custom', array(array($this, 'update_contact_url'))), 27 ); 28 } 29 30 public function update_contact_url() 31 { 32 $sql = 'UPDATE ' . $this->table_prefix . "profile_fields 33 SET field_contact_url = 'ymsgr:sendim?%s' 34 WHERE field_name = 'phpbb_yahoo' 35 AND field_contact_url = 'http://edit.yahoo.com/config/send_webmesg?.target=%s&.src=pg'"; 36 $this->sql_query($sql); 37 } 38 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Jan 11 00:25:41 2018 | Cross-referenced by PHPXref 0.7.1 |