Raised This Month: $ Target: $400
 0% 

nvault prune


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
killergirl
Senior Member
Join Date: Jul 2010
Old 04-19-2011 , 20:30   nvault prune
Reply With Quote #1

I'm new in using nvault, and I have some questions about timestamp. For ex. yesterday I created 4 values, today 3 values and tomorrow I will create another 6 values.

PHP Code:
public plugin_cfg()
{        
    
set_task(10.0"prune")
}

public 
prune()
{    
    
nvault_prune(g_Vaultget_systime() - (10 86400) )
    
    return 
PLUGIN_HANDLED

So, this function will delete all values in 10 days or one by one when the value was created?
killergirl is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode