1
0

functions.cache.off.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <?php
  2. /* $Id: functions.cache.off.php 1951 2006-12-19 02:56:18Z b4rt $ */
  3. /*******************************************************************************
  4. LICENSE
  5. This program is free software; you can redistribute it and/or
  6. modify it under the terms of the GNU General Public License (GPL)
  7. as published by the Free Software Foundation; either version 2
  8. of the License, or (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. To read the license please visit http://www.gnu.org/copyleft/gpl.html
  14. *******************************************************************************/
  15. /*******************************************************************************
  16. * config
  17. ******************************************************************************/
  18. /**
  19. * check if cache set
  20. *
  21. * @param $username
  22. * @return boolean
  23. */
  24. function cacheIsSet($username) {
  25. return false;
  26. }
  27. /**
  28. * init cfg from cache
  29. *
  30. * @param $username
  31. */
  32. function cacheInit($username) {}
  33. /**
  34. * set the cache
  35. *
  36. * @param $username
  37. */
  38. function cacheSet($username) {}
  39. /**
  40. * flush the cache
  41. *
  42. * @param $username
  43. */
  44. function cacheFlush($username = "") {}
  45. /*******************************************************************************
  46. * transfer
  47. ******************************************************************************/
  48. /**
  49. * check if cache set
  50. *
  51. * @return boolean
  52. */
  53. function cacheTransfersIsSet() {
  54. return false;
  55. }
  56. /**
  57. * init transfers from cache
  58. */
  59. function cacheTransfersInit() {
  60. global $transfers;
  61. initGlobalTransfersArray();
  62. }
  63. /**
  64. * set the cache
  65. */
  66. function cacheTransfersSet() {
  67. global $transfers;
  68. initGlobalTransfersArray();
  69. }
  70. /**
  71. * flush the cache
  72. */
  73. function cacheTransfersFlush() {
  74. return;
  75. }
  76. ?>