Skip to content
Snippets Groups Projects
Commit 489e0c12 authored by efalcy's avatar efalcy
Browse files

modify patch to test if patch_hash exists before creating it

parent 6f485c6a
Branches
Tags
2 merge requests!967Development 7.1.41,!956Dev#26453 make admin variables available
<?php
$adapter = Zend_Registry::get('sql');
$adapter->query('CREATE TABLE `patch_hash` ( '
$adapter->query('CREATE TABLE IF NOT EXISTS `patch_hash` ( '
. 'id int(11) unsigned not null auto_increment,'
. '`value` char(40) not null,'
. 'primary key (id),'
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment