diff options
| author | fisharebest <fisharebest@gmail.com> | 2010-09-29 21:16:07 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2010-09-29 21:16:07 +0000 |
| commit | 43cb2649f18e385f1039b02babc8cd2d7f978ae1 (patch) | |
| tree | 5076e0f63c379d4db4efa66dc2b872c826744f3a /includes/classes | |
| parent | 5a270abb7e647cc4d62c01252eb49b45166ca285 (diff) | |
| download | webtrees-43cb2649f18e385f1039b02babc8cd2d7f978ae1.tar.gz webtrees-43cb2649f18e385f1039b02babc8cd2d7f978ae1.tar.bz2 webtrees-43cb2649f18e385f1039b02babc8cd2d7f978ae1.zip | |
Remove "extended interface" option from HTML block. See also #650822
Diffstat (limited to 'includes/classes')
| -rw-r--r-- | includes/classes/class_stats.php | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/includes/classes/class_stats.php b/includes/classes/class_stats.php index 2189750afb..91e2210cbe 100644 --- a/includes/classes/class_stats.php +++ b/includes/classes/class_stats.php @@ -3704,16 +3704,9 @@ class stats { $cache[$id]=$rows; return $rows; } -} -/* - * This class provides access to additional non-stats features of webtrees - * for use in the HTML block (Extended interaface enabled). - */ -class stats_ui extends stats { -/////////////////////////////////////////////////////////////////////////////// -// Favorites // -/////////////////////////////////////////////////////////////////////////////// + // These functions provide access to additional non-stats features of webtrees + // for use in the HTML block. static function _getFavorites($isged=true) { global $GEDCOM; @@ -3738,10 +3731,10 @@ class stats_ui extends stats { static function totalGedcomFavorites(){return count(gedcom_favorites_WT_Module::getUserFavorites(WT_GEDCOM));} static function totalUserFavorites(){return count(user_favorites_WT_Module::getUserFavorites(WT_USER_NAME));} -/////////////////////////////////////////////////////////////////////////////// -// Other blocks // -// example of use: #callBlock:block_name# // -/////////////////////////////////////////////////////////////////////////////// + /////////////////////////////////////////////////////////////////////////////// + // Other blocks // + // example of use: #callBlock:block_name# // + /////////////////////////////////////////////////////////////////////////////// static function callBlock($params=null) { global $ctype; @@ -3773,4 +3766,4 @@ class stats_ui extends stats { function totalUserMessages(){return count(getUserMessages(WT_USER_NAME));} function totalUserJournal(){ return count(getUserNews(WT_USER_ID));} function totalGedcomNews(){ return count(getUserNews(WT_GEDCOM));} -}
\ No newline at end of file +} |
