move default message to Logs class

This commit is contained in:
Jacson Passold 2017-11-27 22:12:12 -02:00
parent 3bb4a63a47
commit 21eaeb4878
1 changed files with 0 additions and 8 deletions

View File

@ -216,14 +216,6 @@ class Log extends Entity {
{
$type = gettype($new_value);
if($msn === false)
{
if(is_object($new_value))
{
$type = get_class($new_value);
}
$msn = sprintf( esc_html__( 'a %s has been created/modified.', 'tainacan' ), $type );
}
$log->set_value($new_value);
if(!is_null($old_value)) $log->set_old_value($old_value);
}