Hi,
I'm using poormans cron at the moment as need to get my hosting to setup a proper job. However, this means that occasionally users get to see the "Ad module file-cached data has been flushed to the database" message when they happen to be the page view that triggers cron - is there any way of stopping this displaying?
Many thanks,
Emma
Comments
Comment #1
jeremy commentedMarking as a bug report -- these messages should not be displayed unless the user has permission to see them. I'll try and roll out a fix soon.
Comment #2
Emma commentedThanks!
Will keep checking back for news.
Comment #3
etgraphicd2 commentedhello Emma,
I have the same problem.
Has anyone given you a solution to this yet?
Thanks,
Edward
Comment #4
jeremy commentedFix committed:
http://drupal.org/cvs?commit=292776
I committed the same fix for the ad_memcache module:
http://drupal.org/cvs?commit=292778
Comment #5
etgraphicd2 commentedThanks Jeremy,
I just downloaded the fix module and tried to installed it.
But I get this message:
(Currently using Memcache Memcache is not installed, memcache_add_server not found.)
Would not install....says memcache add server not found.
Is this something you have dealt with before?
Thanks a lot,
Edward
Comment #7
davethedruper commentedFYI to anyone interested:
Took out the message saying Ad Module file-cached data has been flushed to the database.
File: Ad/cache/file/ad_cache_file.module
Changed lines 116-119 which read:
if (user_access('administer advertisements')) {
drupal_set_message(t('Ad module file-cached data has been flushed to the database.'));
}
}
To:
if (user_access('administer advertisements'));
}
Not sure if this is the best way but it worked for me.
Hope this helps someone.