<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Fix creation of Horde_SessionObjects in Horde_Group</title> 
  <pubDate>Fri, 10 Apr 2026 16:31:10 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7988</link> 
  <atom:link rel="self" type="application/rss+xml" title="Fix creation of Horde_SessionObjects in Horde_Group" href="https://bugs.horde.org/ticket/7988/rss" /> 
  <description>Fix creation of Horde_SessionObjects in Horde_Group</description> 
 
   
   
  <item> 
   <title>- __construct must be public not protected

- replace md5 wi</title> 
   <description>- __construct must be public not protected

- replace md5 with hash</description> 
   <pubDate>Sun, 15 Feb 2009 10:13:13 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7988#t52582</link> 
  </item> 
   
  <item> 
   <title>The __construct method is protected because you should be us</title> 
   <description>The __construct method is protected because you should be using the singleton method to create these objects.



Also, I seem to remember a comment/discussion about sticking with md5 now since in newer PHP versions it is an alias to hash&#039;s md5 implementation?</description> 
   <pubDate>Sun, 15 Feb 2009 14:10:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7988#t52584</link> 
  </item> 
   
  <item> 
   <title>&gt; The __construct method is protected because you should be </title> 
   <description>&gt; The __construct method is protected because you should be using the 

&gt; singleton method to create these objects.



Then you should update other libraries as Group, where SessionObjects is directly created (see functions singleton and shutdown) and you get:



( ! ) Fatal error: Call to protected Horde_SessionObjects::__construct() from context &#039;Group&#039; in /usr/share/php5/Horde/Group.php on line 682

Call Stack

#       Time    Memory  Function        Location

1       0,0014  85068   {main}( )       ../view.php:0

2       0,2281  2952388 Ansel_View_List-&gt;html( )        ../view.php:52

3       0,2288  2954888 Ansel_Storage-&gt;countGalleries( )        ../List.php:172

4       0,2288  2955820 Horde_Share_sql_hierarchical-&gt;countShares( )    ../Ansel.php:3698

5       0,2288  2956180 Horde_Share_sql_hierarchical-&gt;_getShareCriteria( )      ../sql_hierarchical.php:580

6       0,2323  3104292 Group-&gt;singleton( )     ../sql_hierarchical.php:221</description> 
   <pubDate>Sun, 15 Feb 2009 16:32:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7988#t52585</link> 
  </item> 
   
  <item> 
   <title>Done. </title> 
   <description>Done. </description> 
   <pubDate>Sun, 15 Feb 2009 17:10:49 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7988#t52586</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
