Remove categories from the pdf
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 4 Apr 2016 17:36:28 +0000 (13:36 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 4 Apr 2016 17:36:28 +0000 (13:36 -0400)
models/front/events/list.php

index 4a00f00..ebcf8ee 100644 (file)
@@ -238,6 +238,7 @@ class GlmMembersFront_events_list extends GlmMembersFront_events_baseAction
 
                     $pdfY -= self::LINE_HEIGHT * $lineCount;
 
+                    /*
                     if ( isset($event['categories']) && !empty($event['categories']) ) {
                         $categoryNames = array();
                         $category = new SetaPDF_Core_Text_Block( $boldFont, self::PDF_FONT_SIZE );
@@ -251,6 +252,7 @@ class GlmMembersFront_events_list extends GlmMembersFront_events_baseAction
                         $category->setText( implode( ',', $categoryNames ) );
                         $category->draw($page->getCanvas(), self::PDF_RGT_COL_X + 50, $eventTopY );
                     }
+                     */
 
                     if ( isset($event['locations']) && !empty($event['locations']) ) {
                         $address = array();