Skip to content

Commit

Permalink
MDL-13633 - (OOPS) Completed incomplete changes - simplified tag_prin…
Browse files Browse the repository at this point in the history
…t_cloud. (merge from 1.9)
  • Loading branch information
scyrma committed Feb 27, 2008
1 parent 26b8628 commit cf79f66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions tag/locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,9 @@
* Prints a tag cloud
*
* @param array $tagcloud array of tag objects (fields: id, name, rawname, count and flag)
* @param boolean $shuffle wether or not to shuffle the array passed
* @param int $max_size maximum text size, in percentage
* @param int $min_size minimum text size, in percentage
* @param $return if true return html string
*/
function tag_print_cloud($nr_of_tags=150, $max_size=170, $min_size=70, $return=false) {
function tag_print_cloud($nr_of_tags=150, $return=false) {

global $CFG;

Expand Down
2 changes: 1 addition & 1 deletion tag/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
echo '<br/><br/>';

print_box_start('generalbox', 'big-tag-cloud-box');
tag_print_cloud(150, false, 170,70);
tag_print_cloud(150);
print_box_end();

print_footer();
Expand Down

0 comments on commit cf79f66

Please sign in to comment.