rename grid to network (for consistency) and activity to stream (as seen in osada) because it makes much more sense.

This commit is contained in:
Mario Vavti
2018-10-06 16:40:30 +02:00
parent b8991750c5
commit 96277372d5
7 changed files with 36 additions and 8 deletions

28
Zotlabs/Update/_1222.php Normal file
View File

@@ -0,0 +1,28 @@
<?php
namespace Zotlabs\Update;
use Zotlabs\Lib\Apps;
class _1222 {
function run() {
q("START TRANSACTION");
$r1 = q("DELETE FROM app WHERE app_name = 'Grid' and app_system = 1");
if($r1) {
q("COMMIT");
Apps::import_system_apps();
return UPDATE_SUCCESS;
}
q("ROLLBACK");
return UPDATE_FAILED;
}
}