Преглед на файлове

#3664 - Add serviceGetBlockPostCustom in Timeline for custom posting

RomanL преди 4 години
родител
ревизия
82664a3d12
променени са 1 файла, в които са добавени 0 реда и са изтрити 31 реда
  1. 0 31
      modules/boonex/timeline/classes/BxTimelineModule.php

+ 0 - 31
modules/boonex/timeline/classes/BxTimelineModule.php

@@ -1375,37 +1375,6 @@ class BxTimelineModule extends BxBaseModNotificationsModule implements iBxDolCon
         ));
     }
     
-    /**
-     * @page service Service Calls
-     * @section bx_timeline Timeline
-     * @subsection bx_timeline-page_blocks Page Blocks
-     * @subsubsection bx_timeline-get_block_post_account get_block_post_account
-     * 
-     * @code bx_srv('bx_timeline', 'get_block_post_account', [...]); @endcode
-     * 
-     * Get Post block for the Dashboard page.
-     *
-     * @return an array describing a block to display on the site. All necessary CSS and JS files are automatically added to the HEAD section of the site HTML.
-     * 
-     * @see BxTimelineModule::serviceGetBlockPostAccount
-     */
-    /** 
-     * @ref bx_timeline-get_block_post_account "get_block_post_account"
-     */
-    public function serviceGetBlockPostAccount()
-    {
-        if(!isLogged())
-            return '';
-
-        $iProfileId = $this->getProfileId();
-        $sType = BX_TIMELINE_TYPE_FEED;
-        return $this->_getBlockPost($iProfileId, array(
-            'type' => $sType,
-            'form_display' => $this->_oConfig->getPostFormDisplay($sType),
-            'name' => 'home'
-        ));
-    }
-    
     /**
      * @page service Service Calls
      * @section bx_timeline Timeline