cron.php 565 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. /*
  3. [UCenter] (C)2001-2099 Comsenz Inc.
  4. This is NOT a freeware, use is subject to license terms
  5. $Id: cron.php 1059 2011-03-01 07:25:09Z monkey $
  6. */
  7. !defined('IN_UC') && exit('Access Denied');
  8. class cronmodel {
  9. var $db;
  10. var $base;
  11. function __construct(&$base) {
  12. $this->cronmodel($base);
  13. }
  14. function cronmodel(&$base) {
  15. $this->base = $base;
  16. $this->db = $base->db;
  17. }
  18. function note_delete_user() {
  19. }
  20. function note_delete_pm() {
  21. $data = $this->db->result_first("SELECT COUNT(*) FROM ".UC_DBTABLEPRE."badwords");
  22. return $data;
  23. }
  24. }
  25. ?>