vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Deleting a PM doesn't delete the PMTEXT entry (https://vborg.vbsupport.ru/showthread.php?t=174241)

sv1cec 03-26-2008 06:01 PM

Deleting a PM doesn't delete the PMTEXT entry
 
Hey guys, I have just noticed that the PMTEXT table in my database is huge. It has about 1500 pages. While checking the code that deletes private messages, I can't find the statement that clears up the pmtext record for each record in the pm table that gets deleted. I check vB 3.0.17, 3.6.5 and the latest release from vBulletin.

Do you think this is normal? I mean I understand that when a user deletes a PM from his inbox, the PMTEXT entry is not deleted since the message may have been sent to more than one recipients. But when is that PMTEXT entry going to be deleted? Is there a cron job that tests for orphan PMTEXT records and deletes them?

Please enlighten me.

--------------- Added [DATE]1206563782[/DATE] at [TIME]1206563782[/TIME] ---------------

Never mind, I figure out they couldn't have forgotten that. It is taken care of, by the Hourly Clean-up No2 cron script.


All times are GMT. The time now is 03:47 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01972 seconds
  • Memory Usage 1,701KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete