summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2012-04-18 21:32:19 -0400
committerChristian Fowler <spider@viovio.com>2012-04-18 21:32:19 -0400
commit5f4c888c3d7dfca46fc53015ebe8d437be8e7fd6 (patch)
treee413a7642beb30be7e31de5c09052e511ae56433
parentc75e4fb47bb6107db848d6cd86f2dfd52419c1c3 (diff)
downloadnewsletters-5f4c888c3d7dfca46fc53015ebe8d437be8e7fd6.tar.gz
newsletters-5f4c888c3d7dfca46fc53015ebe8d437be8e7fd6.tar.bz2
newsletters-5f4c888c3d7dfca46fc53015ebe8d437be8e7fd6.zip
major cleanup and get install working on postgres for all packages
-rw-r--r--BitNewsletter.php2
-rw-r--r--BitNewsletterEdition.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/BitNewsletter.php b/BitNewsletter.php
index 668a6f9..f479c96 100644
--- a/BitNewsletter.php
+++ b/BitNewsletter.php
@@ -379,7 +379,7 @@ class BitNewsletter extends LibertyContent {
* @param object $pNewsletterId of the item to use
* @return object Url String
*/
- function getDisplayUrlFromHash( $pHash ) {
+ public static function getDisplayUrlFromHash( $pHash ) {
global $gBitSystem;
$ret = NULL;
if( BitBase::verifyId( $pHash['newsletter_id'] ) ) {
diff --git a/BitNewsletterEdition.php b/BitNewsletterEdition.php
index c841ba5..4327923 100644
--- a/BitNewsletterEdition.php
+++ b/BitNewsletterEdition.php
@@ -123,7 +123,7 @@ class BitNewsletterEdition extends LibertyMime {
* @param object PostId of the item to use
* @return object Url String
*/
- function getDisplayUrlFromHash( $pHash ) {
+ public static function getDisplayUrlFromHash( $pHash ) {
$ret = NULL;
global $gBitSystem;
if( BitBase::verifyId( $pHash['edition_id'] ) ) {