mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2025-02-13 17:28:25 +00:00
change media version
This commit is contained in:
parent
73cc997fc8
commit
090f9f14cc
@ -326,6 +326,10 @@ class PullModel extends \JModelDatabase
|
||||
->where($db->quoteName('pull_id') . ' = ' . (int) $id)
|
||||
)->execute();
|
||||
|
||||
// Change the media version
|
||||
$version = new \JVersion;
|
||||
$version->refreshMediaVersion();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -440,6 +444,10 @@ class PullModel extends \JModelDatabase
|
||||
}
|
||||
}
|
||||
|
||||
// Change the media version
|
||||
$version = new \JVersion;
|
||||
$version->refreshMediaVersion();
|
||||
|
||||
return $this->removeTest($testRecord);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user