Commit 1b38d376 authored by Penny Leach's avatar Penny Leach
Browse files

empty internal artefact (checked for upgrades)

parent e6629d09
<?php
/**
* This program is part of mahara
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
* @package mahara
* @subpackage artefact/internal
* @author Your Name <you@example.org>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL
* @copyright (C) 2006,2007 Catalyst IT Ltd http://catalyst.net.nz
*
*/
defined('INTERNAL') || die();
$config = new StdClass;
$config->version = 2006100500;
$config->release = '0.1';
?>
\ No newline at end of file
......@@ -58,12 +58,12 @@ function check_upgrades() {
}
// artefact plugins next..
$dirhandle = opendir(get_config('docroot').'artefacts/');
$dirhandle = opendir(get_config('docroot').'artefact/');
while (false !== ($dir = readdir($dirhandle))) {
if (!empty($installing) && $dir != 'internal') {
continue;
}
require(get_config('docroot').'artefacts/'.$dir.'/version.php');
require(get_config('docroot').'artefact/'.$dir.'/version.php');
$pluginversion = 0;
try {
$pluginversion = get_config_plugin('arfetact',$dir,'version');
......
Markdown is supported
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