]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - db/core.php
Don't accept non-objects before testing with "instanceof".
[quix0rs-gnu-social.git] / db / core.php
index dd5c9a78783f86aa7df15a55b268d51b587b83d3..f654d79d996754977dbb7ab9a8fc555b85b6791b 100644 (file)
  *     double-check what we've been doing on postgres?
  */
 
-$classes = array('Profile',
+$classes = array('Schema_version',
+                 'Profile',
                  'Avatar',
                  'Sms_carrier',
                  'User',
-                 'Remote_profile',
                  'Subscription',
                  'Group_join_queue',
                  'Subscription_queue',
                  'Oauth_token_association',
                  'Notice',
+                 'Notice_location',
                  'Notice_source',
                  'Reply',
-                 'Fave',
                  'Consumer',
                  'Token',
                  'Nonce',
@@ -56,8 +56,7 @@ $classes = array('Profile',
                  'Foreign_link',
                  'Foreign_subscription',
                  'Invitation',
-                 'Message',
-                 // 'Notice_inbox',
+                 'Profile_prefs',
                  'Profile_tag',
                  'Profile_list',
                  'Profile_tag_subscription',
@@ -65,29 +64,28 @@ $classes = array('Profile',
                  'User_group',
                  'Related_group',
                  'Group_inbox',
+                 'Group_member',
                  'File',
-                 'File_oembed',
                  'File_redirection',
                  'File_thumbnail',
                  'File_to_post',
                  'Group_block',
                  'Group_alias',
                  'Session',
-                 'Deleted_notice',
                  'Config',
                  'Profile_role',
                  'Location_namespace',
                  'Login_token',
                  'User_location_prefs',
-                 'Inbox',
                  'User_im_prefs',
                  'Conversation',
                  'Local_group',
                  'User_urlshortener_prefs',
-                 'Schema_version',
+                 'Old_school_prefs',
+                 'User_username',
+                 'Attention',
 );
 
 foreach ($classes as $cls) {
     $schema[strtolower($cls)] = call_user_func(array($cls, 'schemaDef'));
 }
-