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/MyBB.php

    r5951 r6449  
    517517     * converter.
    518518     */
    519     public function info()
    520     {
     519    public function info() {
    521520        return '';
    522521    }
     
    527526     * as one value. Array values are auto sanitized by WordPress.
    528527     */
    529     public function callback_savepass( $field, $row )
    530     {
     528    public function callback_savepass( $field, $row ) {
    531529        $pass_array = array( 'hash' => $field, 'salt' => $row['salt'] );
    532530        return $pass_array;
     
    537535     * to a pass the user has typed in.
    538536     */
    539     public function authenticate_pass( $password, $serialized_pass )
    540     {
     537    public function authenticate_pass( $password, $serialized_pass ) {
    541538        $pass_array = unserialize( $serialized_pass );
    542539        return ( $pass_array['hash'] == md5( md5( $password ). $pass_array['salt'] ) );
Note: See TracChangeset for help on using the changeset viewer.