![]() |
Quote:
So, 60*60*24 means a day... :) Any further problem ? :bunny: P.S.: the multiplier operator has the commutative property... :p |
can anyone confirm if this hack does what its suppose to do? Meaning does the above code guarantee to delete PMs longer than 60 days?
|
works fine for me
|
If you don't think it will work (or just want to get a number) you can comment out the delete line and use these to see the total rows that will be deleted:
PHP Code:
|
Works pretty good. Thanks
|
This would be cool is you can add this into the Admin cp ...
|
Does this work on version 2.3.0?
Does it empty out all the folders? How can I make it delete the PMs older than one month? Thank you! |
Amy,
I took your script and made an option in the Admin CP to run it. It seemed to work, but when I ran it all I got was a blank screen. I was wondering if there is a way to add something to the end of the script so that when it is finished running it would return you to say the PM stats query? I am not that versed in php, to do the coding myself . Thanks |
Quote:
PHP Code:
|
I'd like to adapt this to work with version 3.60.
The existing version shows: Code:
<?php
Can I just duplicate the a$ query above to prune each of those variables? Or is that unnecessary or redundant? |
All times are GMT. The time now is 08:38 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|