Changeset 13284 for trunk/inc/profiles.inc.php
- Timestamp:
- 11/20/09 06:31:49 (3 years ago)
- File:
-
- 1 edited
-
trunk/inc/profiles.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/inc/profiles.inc.php
r13075 r13284 484 484 } 485 485 486 function setSearchStartAge($iMin) { 487 if ($iMin <= 0) 488 return false; 489 490 $GLOBALS['MySQL']->query("update `sys_profile_fields` set `Min` = $iMin where `Name` = 'DateOfBirth'"); 491 492 require_once(BX_DIRECTORY_PATH_CLASSES . 'BxDolPFM.php'); 493 $oCacher = new BxDolPFMCacher(); 494 $oCacher -> createCache(); 495 496 return true; 497 } 498 499 function setSearchEndAge($iMax) { 500 if ($iMax <= 0) 501 return false; 502 503 $GLOBALS['MySQL']->query("update `sys_profile_fields` set `Max` = $iMax where `Name` = 'DateOfBirth'"); 504 505 require_once(BX_DIRECTORY_PATH_CLASSES . 'BxDolPFM.php'); 506 $oCacher = new BxDolPFMCacher(); 507 $oCacher -> createCache(); 508 509 return true; 510 } 511 486 512 check_logged(); 487 ?>
Note: See TracChangeset
for help on using the changeset viewer.