HomeHelpTrac

Ignore:
Timestamp:
03/10/10 11:19:50 (2 years ago)
Author:
Leonid Sokushev
Message:

ticket #1900 + mem levels checking for sounds and videos blocks at profile page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/boonex/wall/classes/BxWallModule.php

    r13611 r13775  
    203203    function actionGetPhotoUploaders($iOwnerId) { 
    204204        $this->_iOwnerId = $iOwnerId;         
    205         return BxDolService::call('photos', 'get_uploader_form', array(array('mode' => 'single', 'category' => 'wall', 'album'=>_t('_wall_photo_album', getNickName($this->_iOwnerId)), 'from_wall' => 1, 'owner_id' => $this->_iOwnerId)), 'Uploader'); 
    206     }    
     205        return BxDolService::call('photos', 'get_uploader_form', array(array('mode' => 'single', 'category' => 'wall', 'album'=>_t('_wall_photo_album', getNickName(getLoggedId())), 'from_wall' => 1, 'owner_id' => $this->_iOwnerId)), 'Uploader'); 
     206    } 
    207207    /** 
    208208     * Get music uploading form. 
     
    212212    function actionGetMusicUploaders($iOwnerId) { 
    213213        $this->_iOwnerId = $iOwnerId; 
    214         return BxDolService::call('sounds', 'get_uploader_form', array(array('mode' => 'single', 'category' => 'wall', 'album'=>_t('_wall_sound_album', getNickName($this->_iOwnerId)), 'from_wall' => 1, 'owner_id' => $this->_iOwnerId)), 'Uploader'); 
     214        return BxDolService::call('sounds', 'get_uploader_form', array(array('mode' => 'single', 'category' => 'wall', 'album'=>_t('_wall_sound_album', getNickName(getLoggedId())), 'from_wall' => 1, 'owner_id' => $this->_iOwnerId)), 'Uploader'); 
    215215    }    
    216216    /** 
     
    221221    function actionGetVideoUploaders($iOwnerId) { 
    222222        $this->_iOwnerId = $iOwnerId; 
    223         return BxDolService::call('videos', 'get_uploader_form', array(array('mode' => 'single', 'category' => 'wall', 'album'=>_t('_wall_video_album', getNickName($this->_iOwnerId)), 'from_wall' => 1, 'owner_id' => $this->_iOwnerId)), 'Uploader'); 
     223        return BxDolService::call('videos', 'get_uploader_form', array(array('mode' => 'single', 'category' => 'wall', 'album'=>_t('_wall_video_album', getNickName(getLoggedId())), 'from_wall' => 1, 'owner_id' => $this->_iOwnerId)), 'Uploader'); 
    224224    } 
    225225    /** 
Note: See TracChangeset for help on using the changeset viewer.