mirror of
https://github.com/typecho/typecho.git
synced 2025-03-19 01:19:40 +01:00
Merge branch 'master' of https://github.com/typecho/typecho
This commit is contained in:
commit
ae1e349647
@ -29,5 +29,12 @@ include 'menu.php';
|
||||
<?php
|
||||
include 'copyright.php';
|
||||
include 'common-js.php';
|
||||
include 'footer.php';
|
||||
?>
|
||||
<script>
|
||||
(function () {
|
||||
if (window.sessionStorage) {
|
||||
sessionStorage.removeItem('update');
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
<?php include 'footer.php'; ?>
|
||||
|
@ -104,9 +104,6 @@ class Widget_Upgrade extends Widget_Abstract_Options implements Widget_Interface
|
||||
$this->update(array('value' => 'Typecho ' . Typecho_Common::VERSION),
|
||||
$this->db->sql()->where('name = ?', 'generator'));
|
||||
|
||||
/** 删除更新cookie */
|
||||
Typecho_Cookie::delete('__typecho_check_version');
|
||||
|
||||
$this->widget('Widget_Notice')->set(empty($message) ? _t("升级已经完成") : $message,
|
||||
empty($message) ? 'success' : 'notice');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user