lib/transfer.php
/**
     * Check if current user is the requested user
     */
Check if current user is the requested user
Check if current user is the requested user
public function isPublishingUser($userId){
        return is_array($this->argument) &&
            array_key_exists('userId', $this->argument) &&
            $this->argument['userId'] == $userId;
    }
public function isPublishingUser ( $ userId ) { return is_array ( $ this -> argument ) && array_key_exists ( 'userId' , $ this -> argument ) && $ this -> argument [ 'userId' ] == $ userId ; }
Check if current user is the requested user
Check if current user is the requested user