forked from mediamosa/mediamosa-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmediamosa_sdk.install
40 lines (37 loc) · 1.33 KB
/
mediamosa_sdk.install
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
// $Id$
/**
* MediaMosa is Open Source Software to build a Full Featured, Webservice
* Oriented Media Management and Distribution platform (http://mediamosa.org)
*
* Copyright (C) 2011 SURFnet BV (http://www.surfnet.nl) and Kennisnet
* (http://www.kennisnet.nl)
*
* MediaMosa is based on the open source Drupal platform and
* was originally developed by Madcap BV (http://www.madcap.nl)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
* 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, you can find it at:
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
/**
* @file
* MediaMosa Sofware Development Kit install file.
*/
/**
* Rebuild the registry.
*/
function mediamosa_sdk_update_7000() {
// Rebuild the registry.
db_query('DELETE FROM {registry}'); // Don't worry, I know what I'm doing.
db_query('DELETE FROM {registry_file}'); // Clear it too.
drupal_flush_all_caches();
}