public function checkSourceActive($userId)
    {
        $active = true;

        $values['gso_active'] = $active ? 1 : 0;
        $values['gso_status'] = $active ? 'Active' : 'Inactive';

        $this->_updateSource($values, $userId);

        return $active;
    }
public function checkSourceActive($userId)
    {
        $active = true;

        $values['gso_active'] = $active ? 1 : 0;
        $values['gso_status'] = $active ? 'Active' : 'Inactive';

        $this->_updateSource($values, $userId);

        return $active;
    }
public function checkSourceActive ( $ userId ) { $ active = true ; $ values [ 'gso_active' ] = $ active ? 1 : 0 ; $ values [ 'gso_status' ] = $ active ? 'Active' : 'Inactive' ; $ this -> _updateSource ( $ values , $ userId ) ; return $ active ; }
Checks wether this particular source is active or not and should handle updating the gems-db
with the right information about this source

@param int $userId    Id of the user who takes the action (for logging)
@return boolean
Checks wether this particular source is active or not and should handle updating the gems - db with the right information about this source