Skip to content

Commit

Permalink
[E] removal of unused function #2003
Browse files Browse the repository at this point in the history
  • Loading branch information
lianglee committed Sep 14, 2021
1 parent 460b4cd commit be9656b
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions libraries/ossn.lib.views.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,32 +241,6 @@ function ossn_view_form($name, $args = array(), $type = 'core') {
$args['type'] = $type;
return ossn_plugin_view("output/form", $args);
}

/**
* Ossn view widget
*
* @param array $params A options
*
* @return string
*/
function ossn_view_widget(array $params = array()) {
return ossn_plugin_view("widget/view", $params);
}
/**
* View a template
*
* Use a templates from core (image view, url view etc)
*
* @param string $template A name of template
* @param array $params
*
* @return mix data
*/
function ossn_view_template($template = '', array $params){
if(!empty($template)){
return ossn_plugin_view("{$template}", $params);
}
}
/**
* Create a pagiantion using count and page limit
*
Expand Down

0 comments on commit be9656b

Please sign in to comment.