<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,5 @@
 # the basic install dir
-install_dir=/usr/local/lib/midcom
+install_dir=/opt/midgard/lib/midcom
 # the umask to set on directories that are created.
 install_umask=0770
 lib_dir=${install_dir}/lib</diff>
      <filename>build.properties</filename>
    </modified>
    <modified>
      <diff>@@ -125,7 +125,7 @@ class symlinkStatics extends Task
         }
         
         $ret = &quot;&quot;;
-        exec($command, &amp; $output, $ret);
+        exec($command, $output, $ret);
         if ($ret !== 0)
         {
             throw new Exception(&quot;Exec of $command returned non zero code $ret&quot;);</diff>
      <filename>build/symlinkStatics.php</filename>
    </modified>
    <modified>
      <diff>@@ -31,7 +31,7 @@ class midcom_core_controllers_attachment
                 
         if ($_MIDCOM-&gt;configuration-&gt;enable_attachment_cache)
         {
-            header('Location: ' . midcom_core_helpers_attachment::get_url(&amp;$att));
+            header('Location: ' . midcom_core_helpers_attachment::get_url($att));
             exit();
         }
 </diff>
      <filename>midcom_core/controllers/attachment.php</filename>
    </modified>
    <modified>
      <diff>@@ -69,7 +69,7 @@ class midcom_core_helpers_attachment implements midcom_core_attachment
     
     private function on_creating(midgard_attachment $attachment, $params)
     {
-        if ($_MIDCOM-&gt;authorization-&gt;can_do('midgard:read', &amp;$attachment, null))
+        if ($_MIDCOM-&gt;authorization-&gt;can_do('midgard:read', $attachment, null))
         {
             midcom_core_helpers_attachment::add_to_cache($attachment);
         }
@@ -91,7 +91,7 @@ class midcom_core_helpers_attachment implements midcom_core_attachment
     {
         // Cheking if cache is enabled and attachment is readable for anonymous users
         if ($_MIDCOM-&gt;configuration-&gt;enable_attachment_cache
-            &amp;&amp; $_MIDCOM-&gt;authorization-&gt;can_do('midgard:read', &amp;$attachment, null))
+            &amp;&amp; $_MIDCOM-&gt;authorization-&gt;can_do('midgard:read', $attachment, null))
         {
             return $_MIDCOM-&gt;configuration-&gt;attachment_cache_url . $attachment-&gt;location;
         }</diff>
      <filename>midcom_core/helpers/attachment.php</filename>
    </modified>
    <modified>
      <diff>@@ -175,7 +175,7 @@ class midcom_core_services_authentication_sessionauth implements midcom_core_ser
         }
         
         $result = Array(
-            'session_id' =&gt; $session-&gt;guid, 'user' =&gt; &amp;$user
+            'session_id' =&gt; $session-&gt;guid, 'user' =&gt; &amp;$user // &lt;-- FIXME: is this supposed to be $this-&gt;user instead?
         );
         
         $this-&gt;current_session_id = $session-&gt;guid;</diff>
      <filename>midcom_core/services/authentication/sessionauth.php</filename>
    </modified>
    <modified>
      <diff>@@ -23,7 +23,7 @@ class midcom_core_services_loader
         {
             if (! is_null($configuration))
             {
-                $this-&gt;services[$name] = new $services_implementation(&amp;$configuration);
+                $this-&gt;services[$name] = new $services_implementation($configuration);
             }
             else
             {</diff>
      <filename>midcom_core/services/loader.php</filename>
    </modified>
    <modified>
      <diff>@@ -65,7 +65,7 @@ class midcom_helper_datamanager_tests_types extends midcom_tests_testcase
         $controller = new $controller_class($_MIDCOM-&gt;context-&gt;component_instance);
         
         $action_method = &quot;action_show&quot;;
-        $controller-&gt;$action_method('test', &amp;$data, $args);
+        $controller-&gt;$action_method('test', $data, $args);
         $_MIDCOM-&gt;context-&gt;set_item('net_nemein_news', $data);
         
         $_MIDCOM-&gt;context-&gt;delete();</diff>
      <filename>midcom_helper_datamanager/tests/typesTest.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>42a323a8120eb961b17c7d23ccbf91599fcf97b5</id>
    </parent>
  </parents>
  <author>
    <name>Alexey Zakhlestine</name>
    <email>indeyets@gmail.com</email>
  </author>
  <url>http://github.com/bergie/midcom/commit/fc229181c1206f4e675664a8aae8cf057233aff8</url>
  <id>fc229181c1206f4e675664a8aae8cf057233aff8</id>
  <committed-date>2009-03-30T08:50:50-07:00</committed-date>
  <authored-date>2009-03-30T08:50:50-07:00</authored-date>
  <message>call-time pass-by-reference is deprecated

git-svn-id: https://svn.midgard-project.org/midgard/trunk/midcom@21552 62f49d1c-1c16-0410-9156-d311ce72abac</message>
  <tree>03326e5cc6f83843605d024c64da2dd8d38c915c</tree>
  <committer>
    <name>Alexey Zakhlestine</name>
    <email>indeyets@gmail.com</email>
  </committer>
</commit>
