Skip to:
Content

bbPress.org


Ignore:
Timestamp:
06/01/2017 07:14:43 PM (8 years ago)
Author:
johnjamesjacoby
Message:

Converters: Fix formatting on several converter methods.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/converters/e107v1.php

    r6284 r6449  
    466466     * converter.
    467467     */
    468     public function info()
    469     {
     468    public function info() {
    470469        return '';
    471470    }
     
    476475     * as one value. Array values are auto sanitized by WordPress.
    477476     */
    478     public function callback_savepass( $field, $row )
    479     {
     477    public function callback_savepass( $field, $row ) {
    480478        $pass_array = array( 'hash' => $field, 'salt' => $row['salt'] );
    481479        return $pass_array;
     
    486484     * to a pass the user has typed in.
    487485     */
    488     public function authenticate_pass( $password, $serialized_pass )
    489     {
     486    public function authenticate_pass( $password, $serialized_pass ) {
    490487        $pass_array = unserialize( $serialized_pass );
    491488        return ( $pass_array['hash'] == md5( md5( $password ). $pass_array['salt'] ) );
     
    585582                $this->map_userid[ $field ] = $row->value_id;
    586583            } else {
    587                 if ( ! empty( $_POST['_bbp_converter_convert_users'] ) && ( $_POST['_bbp_converter_convert_users'] == 1 ) ) {
     584                if ( true === $this->convert_users ) {
    588585                    $this->map_userid[ $field ] = 0;
    589586                } else {
Note: See TracChangeset for help on using the changeset viewer.