home.py: rename subbed_info and move to register_ret.

This commit is contained in:
fionabunny
2017-04-20 22:43:51 -07:00
committed by Tim Abbott
parent b7c6d46bf9
commit 26d080cf64
3 changed files with 4 additions and 4 deletions

View File

@@ -388,12 +388,12 @@ exports.initialize_from_page_params = function () {
defaults[stream.name] = true;
});
populate_subscriptions(page_params.subbed_info, true);
populate_subscriptions(page_params.subscriptions, true);
populate_subscriptions(page_params.unsubbed_info, false);
populate_subscriptions(page_params.neversubbed_info, false);
// Garbage collect data structures that were only used for initialization.
delete page_params.subbed_info;
delete page_params.subscriptions;
delete page_params.unsubbed_info;
delete page_params.neversubbed_info;
};