Skip to:
Content

bbPress.org

Ticket #1886: CamelCase.diff

File CamelCase.diff, 1.4 KB (added by netweb, 9 years ago)
  • bbp-admin/converters/phpBB.php

     
    11<?php
    22
    33/**
    4  * Implementation of Xenforo converter.
     4 * Implementation of phpBB converter.
    55 */
    6 class Phpbb extends BBP_Converter_Base {
     6class phpBB extends BBP_Converter_Base {
    77 function __construct() {
    88   parent::__construct();
    99   $this->setup_globals();
    class Phpbb extends BBP_Converter_Base { 
    355355   $this->field_map[] = array(
    356356     'to_type'      => 'user',
    357357     'to_fieldname' => '_bbp_class',
    358      'default'      => 'Phpbb'
     358     'default'      => 'phpBB'
    359359   );
    360360       
    361361   // User name.
  • bbp-admin/converters/vBulletin.php

     
    11<?php
    22
    33/**
    4  * Implementation of Vbulletin converter.
     4 * Implementation of vBulletin converter.
    55 */
    6 class Vbulletin extends BBP_Converter_Base
     6class vBulletin extends BBP_Converter_Base
    77{
    88 function __construct()
    99 {
    class Vbulletin extends BBP_Converter_Base 
    267267   // User password verify class. Stores in usermeta for verifying password.
    268268   $this->field_map[] = array(
    269269     'to_type' => 'user', 'to_fieldname' => '_bbp_class',
    270      'default' => 'Vbulletin'
     270     'default' => 'vBulletin'
    271271   );
    272272   
    273273   // User name.