1
0

Drop unnecessary use of uninitialized $form variable.

This commit is contained in:
Bharat Mediratta 2009-11-17 10:04:33 -08:00
parent 99a4fdfb1d
commit a19d2132b2

View File

@ -24,7 +24,7 @@ class latestupdates_block_Core {
static function get($block_id, $theme) {
$block = "";
switch ($block_id) {
case "latestupdates":
// Determine the ID# of the current album.
@ -35,12 +35,11 @@ class latestupdates_block_Core {
$block->css_id = "g-latest-updates";
$block->title = t("Latest Updates");
$block->content = new View("latestupdates_block.html");
$block->content->batch_tag_form = $form;
$block->content->update_links = array(
"Entire Gallery" => url::site("latestupdates/updates"),
"This Album" => url::site("latestupdates/albums/$albumID")
);
break;
break;
}
return $block;
}