aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2016-01-18 07:31:37 +0100
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2016-01-18 07:31:37 +0100
commitdd3f69eaf357d6a43e087b0b8ed8402738cc39a5 (patch)
treeb6b1aa5903915d75ab74ee4f65a7868d53d6b036 /include/identity.php
parentc4a14c27cf4ddff2f6225edc841f8cd53bbc7f44 (diff)
parentfc54f54b989570e2767a53c3c72875255b0dc95f (diff)
downloadvolse-hubzilla-dd3f69eaf357d6a43e087b0b8ed8402738cc39a5.tar.gz
volse-hubzilla-dd3f69eaf357d6a43e087b0b8ed8402738cc39a5.tar.bz2
volse-hubzilla-dd3f69eaf357d6a43e087b0b8ed8402738cc39a5.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'include/identity.php')
-rw-r--r--include/identity.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/identity.php b/include/identity.php
index deccaa299..2a02d4093 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -482,6 +482,8 @@ function identity_basic_export($channel_id, $items = false) {
$ret = array();
+ // use constants here as otherwise we will have no idea if we can import from a site
+ // with a non-standard platform and version.
$ret['compatibility'] = array('project' => PLATFORM_NAME, 'version' => RED_VERSION, 'database' => DB_UPDATE_VERSION);
$r = q("select * from channel where channel_id = %d limit 1",