Skip to content

Commit

Permalink
to be more concise with the rest of the library, I've replaced ::setu…
Browse files Browse the repository at this point in the history
…p with ::set
  • Loading branch information
bastianallgeier committed Mar 22, 2010
1 parent b1e7594 commit 7995e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/pager.php
Expand Up @@ -7,7 +7,7 @@ class pager {
static public $limit;
static public $pages;

function setup($entries, $page, $limit) {
function set($entries, $page, $limit) {
self::$entries = $entries;
self::$limit = $limit;
self::$pages = ($entries > 0) ? ceil($entries / $limit) : 0;
Expand Down

0 comments on commit 7995e77

Please sign in to comment.