Skip to content
Permalink
Browse files

remove nonstandard meta tag (this is set as an http header anyways)

  • Loading branch information...
flack committed Sep 10, 2019
1 parent b27377e commit 7ecec82e70d40910d589b84fba41e8a3bcb5f5aa
Showing with 1 addition and 15 deletions.
  1. +1 −15 lib/midcom/services/metadata.php
@@ -161,22 +161,8 @@ public function bind_to($object)
*/
public function populate_meta_head()
{
// Populate the request metadata into view
$request_metadata = $this->get_request_metadata();
// HTML generator information
midcom::get()->head->add_meta_head([
'name' => 'generator',
'content' => 'MidCOM'
]);
// Last revision time for the entire page
if ($request_metadata['lastmodified']) {
midcom::get()->head->add_meta_head([
'name' => 'lastupdated',
'content' => @gmdate('Y-m-d H:i:s\Z', $request_metadata['lastmodified'])
]);
}
midcom::get()->head->add_meta_head(['name' => 'generator', 'content' => 'MidCOM']);
// If an object has been bound we have more information available
if ($view_metadata = $this->get_view_metadata()) {

0 comments on commit 7ecec82

Please sign in to comment.
You can’t perform that action at this time.