------------------------------------------------------------
revno: 882
committer: Roger Martin <[email protected]>
branch nick: aikiframework
timestamp: Thu 2011-07-14 00:03:17 +0200
message:
  little changes in global site var
modified:
  src/libs/aiki.php
  src/libs/widgets.php


--
lp:aikiframework
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk

Your team Aiki Framework Developers is subscribed to branch lp:aikiframework.
To unsubscribe from this branch go to 
https://code.launchpad.net/~aikiframework-devel/aikiframework/trunk/+edit-subscription
=== modified file 'src/libs/aiki.php'
--- src/libs/aiki.php	2011-07-13 21:31:56 +0000
+++ src/libs/aiki.php	2011-07-13 22:03:17 +0000
@@ -177,7 +177,7 @@
             "[username]" => $membership->username,
             "[page]" => $page,
             "[site_name]" => $site->site_name(),
-            "[site]" => $site,
+            "[site]" => $site->get_site(),
             "[direction]" => $languages->dir,
             "insertedby_username" => $membership->username,
             "insertedby_userid" => $membership->userid,

=== modified file 'src/libs/widgets.php'
--- src/libs/widgets.php	2011-07-07 22:17:54 +0000
+++ src/libs/widgets.php	2011-07-13 22:03:17 +0000
@@ -143,14 +143,13 @@
      * @global array  $db global database object
      * @global aiki   $aiki glboal aiki object
      * @global string $url 
-     * @global string $site
      * @global string $custom_output
      *
      * @todo this all need to be broken down into helper functions, too big!
      */
 	private function createWidget ( $widget_group )
     {
-		global $db, $aiki,$url, $site, $custom_output;
+		global $db, $aiki,$url, $custom_output;
 
 		/**
 		 * Daddy this is where widgets come from...

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to