[Customisation Database Commits] r1015 - /trunk/titania/includes/objects/category.php

Nathan Guse exreaction at phpbb.com
Tue Apr 6 06:01:24 BST 2010


Author: exreaction
Date: Tue Apr  6 06:01:24 2010
New Revision: 1015

Log:
This generates way too many queries Tom, you'll need to do something else.

Modified:
    trunk/titania/includes/objects/category.php

Modified: trunk/titania/includes/objects/category.php
==============================================================================
*** trunk/titania/includes/objects/category.php (original)
--- trunk/titania/includes/objects/category.php Tue Apr  6 06:01:24 2010
***************
*** 718,724 ****
  			'U_VIEW_CATEGORY'			=> titania_url::$root_url . $this->get_url(),
  			'U_VIEW_MANAGE_CATEGORY'	=> titania_url::$root_url . $this->get_manage_url(),
  
! 			'HAS_CHILDREN'				=> $this->get_children($this->category_id),
  		);
  
  		if ($return)
--- 718,724 ----
  			'U_VIEW_CATEGORY'			=> titania_url::$root_url . $this->get_url(),
  			'U_VIEW_MANAGE_CATEGORY'	=> titania_url::$root_url . $this->get_manage_url(),
  
! 			//'HAS_CHILDREN'				=> $this->get_children($this->category_id),
  		);
  
  		if ($return)




More information about the customisationdb-commits mailing list